Search results

Set the Placeholder

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

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

@using Syncfusion.EJ2.Blazor.Calendars

<EjsDateRangePicker Placeholder="Choose a date range"></EjsDateRangePicker>

The output will be as follows.

DateRangePicker