Search results

Set the Placeholder

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.EJ2.Blazor.Calendars

<EjsDatePicker Placeholder="Select a date"></EjsDatePicker>

The output will be as follows.

datepicker