Set the placeholder

24 Mar 20221 minute to read

The following example demonstrates how to set placholder in the DatePicker control.

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

<ejs-datepicker id="datepicker" placeholder="Enter date"></ejs-datepicker>