How can I do loop create the autocomplete from object list? #3203
Unanswered
NeverMind-orz
asked this question in
Q&A
Replies: 1 comment 8 replies
-
Check the examples at https://www.fluentui-blazor.net/Autocomplete |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to do like this. But it does not work.
@foreach (var item in DataList) {
<FluentAutocomplete TOption="SomeClass" AutoComplete="off" Autofocus="true" OnOptionsSearch="@OnSearchAsync" MaximumSelectedOptions="1" OptionText="@(i => i.Name)" @bind-SelectedOption="@item" />
}
Could you suggest the best way to make loop create dynamic autocomplete for edit value of item in list?
Beta Was this translation helpful? Give feedback.
All reactions