Open the Blazor Datetime Picker popup on Focus

14 Aug 20261 minute to read

Open the DateTimePicker popup when the input receives focus by setting the OpenOnFocus property to true.

The following example opens the DateTimePicker popup on focus.

@using Syncfusion.Blazor.Calendars

<SfDateTimePicker TValue="DateTime?"  OpenOnFocus="true" ShowClearButton="true"></SfDateTimePicker>

Opening the Blazor DateTimePicker popup when the input is focused

See also