Skip to content

Example of cascading combobox #3038

Answered by vnbaaij
satyajit-behera asked this question in Q&A
Discussion options

You must be logged in to vote

I would advise to use @bind-SelectedItems and then add a @bind-SelectedItems:after method to work with the variable you used to store the selected items in. You can get to all the item data that way. You shouldn't have to tie in to the binding process like you are trying to do.

See https://www.fluentui-blazor.net/Autocomplete#default for an example. We just get the country name and display it, but you could get all Country properties like that

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@vnbaaij
Comment options

@satyajit-behera
Comment options

@satyajit-behera
Comment options

@vnbaaij
Comment options

Answer selected by satyajit-behera
@satyajit-behera
Comment options

@vnbaaij
Comment options

@satyajit-behera
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants