Search results

Set the Placeholder in Blazor DateRangePicker component

08 Apr 2021 / 1 minute to read

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

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

Copied to clipboard
@using Syncfusion.Blazor.Calendars

<SfDateRangePicker TValue="DateTime?" Placeholder="Choose a date range"></SfDateRangePicker>

The output will be as follows.