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 have a problem to get sm-select's pre selection to work. In my Component I have the property "status" for the model i am using for sm-select and in my HTML-Template I have the following code:
Hey there,
I have a problem to get sm-select's pre selection to work. In my Component I have the property "status" for the model i am using for sm-select and in my HTML-Template I have the following code:
Now when I load the site with URL parameters http://.../site?status=1, the active item is not pre selected.
All is rendered fine and my selection is set properly in the status property in my component but its not pre-selected in the dropdown.
When I manually add an option field like so:
I can visit the URL http://.../site?status=9 and the active item is set correct to "Nine" in the dropdown. I think it's a bug when using ngFor?
Anyone have a suggestion for my problem?
Greetings
The text was updated successfully, but these errors were encountered: