Set the Placeholder in Blazor DatePicker Component

8 Aug 20231 minute to read

The following example demonstrates how to set Placeholder in the DatePicker component.

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

@using Syncfusion.Blazor.Calendars

<SfDatePicker TValue="DateTime?" Placeholder="Select a date"></SfDatePicker>

Blazor DatePicker displays Hint Element