Skip to content
Discussion options

You must be logged in to vote

@rabauss

Step1

upgrade BootstrapBlazor 9.8.3-beta01

Step2

add KeyAttribute on Id property

public class ProductCategory
{
    [Key]
    public int Id { get; set; }
    public string Name { get; set; } = "";
}

had submit a PR for this.

Alternatives

add ValueEqualityComparer parameter

<MultiSelectGeneric DisplayText="Types"
                    ShowLabel="true"
                    Items="_items"
                    @bind-Value="_value"
                    ShowSearch="true"
                    IsClearable="true"
                    ShowToolbar="true"
                    OnSearchTextChanged="HandleOnSearchTextChanged"
                    OnSelectedItemsChanged="HandleOnSelectedItemsChanged"
  …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@ArgoZhang
Comment options

Answer selected by rabauss
@rabauss
Comment options

@rabauss
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