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
Describe the question
Hi guys, I don't know if this is a bug or I've done something wrong. My current issue is that when I am using object in MatAutocompleteList and CustomStringSelector to define which property I want to see as string in input it is working as expected when I am starting with clear input but when I am loading data from DB and I want to set loaded value as default, instead of using value.Name as specified in CustomStringSelector it is passing object Type name to input field. This is corrected automatically once clicking in and out of the input. Any ideas?
Thank you.
Expected behavior
I would expect that default value.Name should show up on initialization.
Screenshots
The text was updated successfully, but these errors were encountered:
Describe the question
Hi guys, I don't know if this is a bug or I've done something wrong. My current issue is that when I am using object in MatAutocompleteList and CustomStringSelector to define which property I want to see as string in input it is working as expected when I am starting with clear input but when I am loading data from DB and I want to set loaded value as default, instead of using value.Name as specified in CustomStringSelector it is passing object Type name to input field. This is corrected automatically once clicking in and out of the input. Any ideas?
Thank you.
Expected behavior
I would expect that default value.Name should show up on initialization.
Screenshots
![MatAutocompleteList-defaultValue](https://user-images.githubusercontent.com/14997492/234260198-1fcf3aed-2e73-45a7-9ca6-641da3aca9da.png)
The text was updated successfully, but these errors were encountered: