We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to "deselect" options from the FluentSelect component when Multiple=true.
@page "/selectTest" <FluentCheckbox ValueChanged="ToggleSelectAll" Label="Select All" /> <FluentSelect TOption="string" Items="@PossibleStrings" Multiple="true" @bind-SelectedOptions="@SelectedStrings" Width="100%" /> @code { IEnumerable<string> PossibleStrings { get; set; } = new List<string>() { "Test 1", "Test 2", "Test 3", "Test 4", "Test 5", "Test 6", "Test 7", "Test 8", "Test 9", "Test 10" }; IEnumerable<string> SelectedStrings { get; set; } = []; void ToggleSelectAll(bool isChecked) { if (isChecked) { SelectedStrings = PossibleStrings; } else { SelectedStrings = []; } } }
I would expect that clearing the bound "SelectedOptions" will also reset the internal collection of what indices are
Clearing the bound collection doesn't update the UI with the items which are selected.
I would like to be able to have a select all/deselect all option associated with my multi-select FluentSelect component.
Windows Edge .NET 8.0.3 & FluentUI 4.8.1
The text was updated successfully, but these errors were encountered:
❤️
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
🐛 Bug Report
Unable to "deselect" options from the FluentSelect component when Multiple=true.
💻 Repro or Code Sample
🤔 Expected Behavior
I would expect that clearing the bound "SelectedOptions" will also reset the internal collection of what indices are
😯 Current Behavior
Clearing the bound collection doesn't update the UI with the items which are selected.
💁 Possible Solution
🔦 Context
I would like to be able to have a select all/deselect all option associated with my multi-select FluentSelect component.
🌍 Your Environment
Windows
Edge
.NET 8.0.3 & FluentUI 4.8.1
The text was updated successfully, but these errors were encountered: