You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to set a currently selected value from controller?
I tried to change the value of the model, but it does nothing for select. And i didnt find any other ways in the documentation.
The text was updated successfully, but these errors were encountered:
Change value of the model should be able to change the select.
Notice: You model value must equal to one of the select option value. the option value has several type depends on the value attribute.
If no value attribute exists on nya-bs-option directive. the option value is defined by option of option in collections ( assume this is your expression on nya-bs-option ).
If value attribute is set, the option value is set by the expression of value attribute, which evaluated in the scope of each nya-bs-option directive.
If you're using static options. the option value is equal to the content of value attribute.
You can found some examples in the examples directory.
How to set a currently selected value from controller?
I tried to change the value of the model, but it does nothing for select. And i didnt find any other ways in the documentation.
The text was updated successfully, but these errors were encountered: