Answer the question
In order to leave comments, you need to log in
How to use ng-repeat with ng-selected?
options in the select list are formed using the ng-repeat directive, the current option is selected using ng-select
The problem is that if I change the list on the basis of which the select list is built, the selected option is lost
An example can be found here https://plnkr.co /edit/tyrWl7SeNrUwi5YkN2nt?p=preview
First you need to press Do then Do2
Answer the question
In order to leave comments, you need to log in
something like this?
https://plnkr.co/edit/XzsKaaZ8NhqTJOCFYW2a?p=preview
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question