Search results

Set the placeholder

The following example demonstrates how to set placeholder in the DateRangePicker control.

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

razor
@Html.EJS().DateRangePicker("daterangepicker").Placeholder("Choose a range").Render()