-
Hey, I’m using FluentAutocomplete as a dropdown where the user can select only one item, so I’ve set MaximumSelectedOptions="1". Currently, when the user wants to change their selection, they have to remove the selected item before the dropdown list/search list appears again. I’d like the user to be able to open the dropdown and have the option to select a new item without needing to remove the current selection first. I'm looking for a workaround for that? ❤️ |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
That would mean we need to provide code (and test and maintain) that would specifically only run if MaximumSelectedOptions is 1. |
Beta Was this translation helpful? Give feedback.
-
Setting: And this dirty code:
Gave me almost what I was looking for: |
Beta Was this translation helpful? Give feedback.
-
this seems so strange: there isn't any way to have something as (for example) BlazoredTypeahead out of the box? |
Beta Was this translation helpful? Give feedback.
-
I see. Combobox is great for layout and filtering features, but I cannot find a way to search options using an external items source. Basically what I need is to allow user to select a single object from a list, listing options searching them from a remote api when he types something. This is the way to assign a value to a model property, where the property refers to a master object in the model. |
Beta Was this translation helpful? Give feedback.
That would mean we need to provide code (and test and maintain) that would specifically only run if MaximumSelectedOptions is 1.
I don't think that is a very good practice.