Skip to content

Commit

Permalink
Fix #1305 by overriding SetParametersAsync for Combobox
Browse files Browse the repository at this point in the history
  • Loading branch information
vnbaaij committed Jan 11, 2024
1 parent 3edb68e commit 61f3520
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Core/Components/List/FluentCombobox.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ public partial class FluentCombobox<TOption> : ListComponentBase<TOption> where
.AddStyle("min-width", Width, when: !string.IsNullOrEmpty(Width))
.Build();

public override async Task SetParametersAsync(ParameterView parameters)
{
parameters.SetParameterProperties(this);

await base.SetParametersAsync(ParameterView.Empty);
}

protected override async Task OnChangedHandlerAsync(ChangeEventArgs e)
{
if (e.Value is not null && Items is not null)
Expand Down

0 comments on commit 61f3520

Please sign in to comment.