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
FluentAutocomplete throws if setting Multiple to false, but if set/bind the SelectedOption it just doesn't work.
💻 Repro or Code Sample
NA
🤔 Expected Behavior
Throw like Multiple
😯 Current Behavior
Silently does not work
💁 Possible Solution
Alternative to throw would be to set MaximumSelectedOptions to null/1 and fix the code to use it SelectedOption when MaximumSelectedOptions is null/1 to make it consistent with other list components.
The text was updated successfully, but these errors were encountered:
thrownewArgumentException("For FluentAutocomplete, this property must be True. Set the MaximumSelectedOptions property to 1 to select just one item.");
In my opinion, FluentCombobox should be used for single items, while FluentAutocomplete should be used for multiple items. However, I am currently using FluentAutocomplete for single objects as well because FluentCombobox does not support a dynamic item provider.
I've created a small example demonstrating how you can achieve single binding with FluentAutocomplete, which is quite tricky to do. You can find it here: #2443
Maybe this is something which you can take a look on for v5? I would highly appreciate it.
🐛 Bug Report
FluentAutocomplete
throws if settingMultiple
to false, but if set/bind theSelectedOption
it just doesn't work.💻 Repro or Code Sample
NA
🤔 Expected Behavior
Throw like Multiple
😯 Current Behavior
Silently does not work
💁 Possible Solution
Alternative to throw would be to set
MaximumSelectedOptions
to null/1 and fix the code to use itSelectedOption
whenMaximumSelectedOptions
is null/1 to make it consistent with other list components.The text was updated successfully, but these errors were encountered: