DateRangePicker lets you display a watermark text in the DateRangePicker control when nothing is selected or entered in it. You can add a watermark text to the DateRangePicker control using the Placeholder property which prompts user to select or enter the date and time using the drop-down button of the control.
The following code shows the usage of the Placeholder property to add a watermark text in the DateRangePicker control:
Index.razor |
Copy Code
|
---|---|
<C1DateRangePicker Placeholder="Select a date range"></C1DateRangePicker>
|