-
-
Notifications
You must be signed in to change notification settings - Fork 386
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MatSelectItem does not update selected value #939
Comments
Looks like all MatSelectItem, MatSelectValue and MatSelect have the same issue. The main problem is that the value of selected item text is updated using JavaScript and not using C#. As a result one of the ways to fix it is to manually call JavaScript. Not ideal but solves the problem. Below are two possible solutions I came up with (version 2.10.0):
For version 2.8.0 the solution is more or less the same:
|
Reopening #860 since the suggested solution does not seem to work.
The version of MatBlazor: 2.8.0 (2.10.0 has the same bug as well).
Link to Blazorfiddle: https://blazorfiddle.com/s/bdawws66
Below is the code of plain index page:
The text was updated successfully, but these errors were encountered: