Remove unused required parameter ItemToKey

pull/15/head^2
Matija Koželj 2 years ago
parent bf60457369
commit 98ff5d5dd8

@ -16,9 +16,6 @@ public partial class Dropdown<T> : InputBase, IAsyncDisposable
[Parameter] [Parameter]
public RenderFragment<T>? SelectedValueTemplate { get; set; } public RenderFragment<T>? SelectedValueTemplate { get; set; }
[Parameter, EditorRequired]
public Func<T, string> ItemToKey { get; set; } = default!;
[Parameter] [Parameter]
public ObservableCollection<T> SelectedItems { get; set; } = new(); public ObservableCollection<T> SelectedItems { get; set; } = new();

Loading…
Cancel
Save