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
I'm trying to create a component around md-select that dynamically creates the content list after the component is first instantiated. This seems to be causing problems.
To reproduce:
Run the fiddle (This is a modification of one of the CodePen examples in the vue-material docs.)
Click "Populate recList". recList sources a v-for in the md-select, and at start of execution, it's empty. This button puts objects into it. The md-select UI properly shows the new values, but the default value for the v-modelled variable "movie" (Godfather) isn't being displayed.
Now click on the md-select pulldown and select "Godfather". Still nothing happens.
Now click "Set Value", which changes "movie" to "Fight Club". Again nothing happens in the UI, because in this failure state, the v-model appears to be ignoring changes to "movie".
Go back to the md-select UI and try to select "Fight Club". Again nothing happens, because having altered the value of "movie" with the button, you're once again using the md-select to set the value already in place. Makes some sense, except the md-select doesn't show the value.
Now: use the md-select to select anything other than "Fight Club". All is right again; you can now use both the button and the md-select UI properly.
This doesn't seem correct behavior to me, and it also doesn't seem like I'm doing something that shouldn't be supported. Am I missing a configuration, or is this an issue? Thanks.
Which browser? Chrome v63
The text was updated successfully, but these errors were encountered:
I'm trying to create a component around md-select that dynamically creates the content list after the component is first instantiated. This seems to be causing problems.
To reproduce:
This doesn't seem correct behavior to me, and it also doesn't seem like I'm doing something that shouldn't be supported. Am I missing a configuration, or is this an issue? Thanks.
Which browser? Chrome v63
The text was updated successfully, but these errors were encountered: