I set the @bind-Value to something like "@statusList.First()" but its not working.
Can you advise me on what it should be changed to to get the first value in my statusList
here the drop-down list is filled with a list of objects where Name-property gives the entry in the dropdown list but the ga_id-property is used.
Problem seems that the preselect doesnt happen. In practical example - the id of a sample is 57 but the entry 57 is not selected in the dropdown. The dropdown always displays the placeholder
I suspect that the preselect tries to match the given id to the displayed entry which is the Name for the id 57, instead of matching the ValueProperty