diff --git a/Oqtane.Client/Modules/Controls/InputList.razor b/Oqtane.Client/Modules/Controls/InputList.razor index 25de9fda..e187479b 100644 --- a/Oqtane.Client/Modules/Controls/InputList.razor +++ b/Oqtane.Client/Modules/Controls/InputList.razor @@ -38,13 +38,10 @@ protected void OnChange(ChangeEventArgs e) { - if (!string.IsNullOrEmpty(e.Value.ToString())) + Value = e.Value.ToString(); + if (ValueChanged.HasDelegate) { - Value = e.Value.ToString(); - if (ValueChanged.HasDelegate) - { - ValueChanged.InvokeAsync(Value); - } + ValueChanged.InvokeAsync(Value); } } } \ No newline at end of file