question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The select-value isn't updating

See original GitHub issue

I’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:closed
  • Created 8 years ago
  • Comments:18 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
doubleOrtcommented, Jun 24, 2017

So, i have the same problem. It is weird that this issue is still open after more than one year.

1reaction
ghostcommented, Sep 26, 2016

Good point, TODO : Overriding .val() method so if it’s for a materialized <select>, update it. Agree ?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found