The select-value isn't updating
See original GitHub issueI’m using the Angular 2 two-way binding on the select.
When I select another value in the list, that doesn’t reflect to the select, so my ngModel isn’t updating.
When i use the browser-default
class all works fine, but I offcourse want to see the materialized select 😄
Issue Analytics
- State:
- Created 8 years ago
- Comments:18 (2 by maintainers)
Top Results From Across the Web
HTML Select Option Value Not Updating - Stack Overflow
The issue is that when I select a different option, the HTML doesn't update and set the option I chose as the selected...
Read more >Select element's value isn't updating when the selected option ...
When the selected option disappears from the DOM I think the select element's value should default to null (or maybe even to the...
Read more >Select value doesn't change when the selected option is ...
Coding example for the question Select value doesn't change when the selected option is changed-Reactjs.
Read more >Flow Element: Update Records - Salesforce Help
Identify Salesforce records to update, and set the values to change in those records. To do so, use the IDs and field values...
Read more >Working with Select and Option in Thymeleaf - Baeldung
Moreover, we can specify that an option isn't selectable by using the disabled attribute: <option disabled>Please select...</option>
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So, i have the same problem. It is weird that this issue is still open after more than one year.
Good point, TODO : Overriding
.val()
method so if it’s for a materialized<select>
, update it. Agree ?