Open the Blazor Datetime Picker popup on Focus

13 Dec 20241 minute to read

You can also open the Datetime Picker popup on input focus by setting the OpenOnFocus property to true.

The following example demonstrates how to open the Datetime Picker popup when the input is focused.

@using Syncfusion.Blazor.Calendars

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

Opening Blazor Datetime Picker Popup