Search results

Set the disabled state

SplitButton component can be enabled or disabled by disabled property. To disable SplitButton component, set the Disabled property as true.

The following example illustrates how to set the disable state in SplitButton component.

@using Syncfusion.EJ2.Blazor.SplitButtons

<EjsSplitButton Items="@Items" Disabled="true">Paste</EjsSplitButton>

@code {

    public List<ItemModel> Items = new List<ItemModel>
        new ItemModel{ Text = "Cut" },
        new ItemModel{ Text = "Copy" },
        new ItemModel{ Text = "Paste" }

Output be like

Split Button Sample