diff --git a/components/select/Select.razor.cs b/components/select/Select.razor.cs index 03a335f9..7c8ee279 100644 --- a/components/select/Select.razor.cs +++ b/components/select/Select.razor.cs @@ -393,7 +393,6 @@ namespace AntDesign protected async void OnRemoveSelected(SelectOption option) { - await Task.Delay(100); var value = option?.Value; if (option.IsTag) { @@ -423,7 +422,6 @@ namespace AntDesign } OnChange?.Invoke(SelectedValues.Value, SelectedOptions); - //await InvokeAsync(StateHasChanged); } #endregion diff --git a/components/select/internal/SelectContent.razor b/components/select/internal/SelectContent.razor index e37c8d80..2d64df04 100644 --- a/components/select/internal/SelectContent.razor +++ b/components/select/internal/SelectContent.razor @@ -50,7 +50,7 @@ { if (ParentSelect.TagRender != null) { - @ParentSelect.TagRender(GetProperties(option)) + @ParentSelect.TagRender(GetProperties(option)) } else { @@ -67,7 +67,7 @@ } - @if (ParentSelect.SelectMode == SelectMode.Tags) + @if (ParentSelect.SelectMode == SelectMode.Tags || ParentSelect.SelectMode == SelectMode.Multiple) {