Search results

Disabled State

To disable the DatePicker, use its Enabled property.

The following code demonstrates the DatePicker in disabled state.

@using Syncfusion.EJ2.Blazor.Calendars

<EjsDatePicker Enabled=false Value="@DateValue"></EjsDatePicker>

@code {
    public DateTime DateValue {get;set;} = DateTime.Now;
}

The output will be as follows.

datepicker