Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

MudSelect Display Text different behavior when property to bind values is empty vs not

$
0
0

I have a MudSelect with MultiSelection enbabled. I also have a MultiSelectionTextFunc since my SelectItems have a Value and a Text. I bind the Value to the property Values of my Model. Here is a code snippet:

https://try.mudblazor.com/snippet/mOwyaqmnmhvriTTJ

The above works fine, and displays the values as I intended.

The problem is when I already have some values in my Values property. Then, although it binds the correct Values, it displays only the first one:

https://try.mudblazor.com/snippet/QYcSkqmRwrdnRwmz


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>