Search results

Set the Placeholder in Blazor DateRangePicker component

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

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

The output will be as follows.

DateRangePicker