Set the Placeholder in Blazor Datetime Picker Component

28 Feb 20221 minute to read

The following code demonstrates how to set Placeholder in the DateTimePicker component.

Using Placeholder, you can display a short hint in the input element.

@using Syncfusion.Blazor.Calendars

<SfDateTimePicker TValue="DateTime?" Placeholder="Choose a datetime"></SfDateTimePicker>

Blazor DateTimePicker displays Hint Element