diff --git a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/Dropdown/_BitDropdownItemDemo.razor.samples.cs b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/Dropdown/_BitDropdownItemDemo.razor.samples.cs index c831a21065..4fec2d3227 100644 --- a/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/Dropdown/_BitDropdownItemDemo.razor.samples.cs +++ b/src/BlazorUI/Demo/Client/Bit.BlazorUI.Demo.Client.Core/Pages/Components/Inputs/Dropdown/_BitDropdownItemDemo.razor.samples.cs @@ -778,6 +778,11 @@ Combo Chips Dynamic private string comboBoxValueSample4 = default!; private ICollection comboBoxValues3 = []; +private void HandleOnDynamicAdd(BitDropdownItem item) +{ + comboBoxItems.Add(item); +} + private List> comboBoxItems = new() { new() { ItemType = BitDropdownItemType.Header, Text = ""Fruits"" },