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
the same issue happens with groups, but this time the problem is the use of groups. Not using the ItemCollection, but the group defined as content, means that the Items collection fills up when the popup is open (the Add function is called) but then empties when the popup is closed (the Dispose function is called, followed by the subsequent Remove function).
Itemscollection is empty, Items is empty, and nothing is displayed.
MudInputCssHelperExtended.GetClassname that doesn't set mud-shrink class.
If it's only about mud-shrink it will be easy. These code looks wrong, it should check HasValue result instead of converter result of value. Because each component implement it's own HasValue algorithm, and your examples has multiselectable.
in your example works, beacuse you do the binding to Value (but it should be unecessary for a multiselection, since there's already the Values binding).
Activity
mckaragoz commentedon Nov 10, 2025
Need more info, could you reproduce an example with minimal code?
cruisi commentedon Dec 23, 2025
I found the issue.
the MudInputCssHelperExtended.GetClassname that doesn't set mud-shrink class.
() => HasNativeHtmlPlaceholder() || ShrinkLabel == true || !string.IsNullOrEmpty(Text) || !string.IsNullOrWhiteSpace(Placeholder) || !string.IsNullOrEmpty(Converter.Set(Value)));all of these checks are false, but the last one should be true..
this is my component setup:
I fixed adding
ShrinkLabel="@(TournamentIds.Any())"cruisi commentedon Dec 23, 2025
the same issue happens with groups, but this time the problem is the use of groups. Not using the ItemCollection, but the group defined as content, means that the Items collection fills up when the popup is open (the Add function is called) but then empties when the popup is closed (the Dispose function is called, followed by the subsequent Remove function).
Itemscollection is empty, Items is empty, and nothing is displayed.
this is my setup:
mckaragoz commentedon Dec 23, 2025
If it's only about mud-shrink it will be easy. These code looks wrong, it should check HasValue result instead of converter result of value. Because each component implement it's own HasValue algorithm, and your examples has multiselectable.
cruisi commentedon Dec 24, 2025
in your example works, beacuse you do the binding to Value (but it should be unecessary for a multiselection, since there's already the Values binding).
I'm trying to find why the selected chips are not showing...