Skip to content

Commit 538ec3c

Browse files
evandixonDixon, Evan
and
Dixon, Evan
authored
Make OnChipRemove overridable (#2122)
Co-authored-by: Dixon, Evan <[email protected]>
1 parent 6fed13b commit 538ec3c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Radzen.Blazor/RadzenDropDownDataGrid.razor.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,7 +969,11 @@ public async Task CloseAndFocus()
969969
OpenOnFocus = of;
970970
}
971971

972-
private async Task OnChipRemove(object item)
972+
/// <summary>
973+
/// Event handler for when an item is unselected by clicking a chip
974+
/// </summary>
975+
/// <param name="item">The item that is to be removed</param>
976+
protected virtual async Task OnChipRemove(object item)
973977
{
974978
if (!Disabled)
975979
{

0 commit comments

Comments
 (0)