Able to hide/disable clear button (need a allowClear prop)
Hi there, for example like job reschedule use case, we do not want user be able to clear the current schedule date, only can do reschedule. So need able to disable or hide the XMarkIcon clear button.
hi there, any update about this? this is very useful feature
Agreed this would be a great feature!
For what it's worth, I was able to accomplish something similar using the following...
<Datepicker
toggleClassName="hidden"
...
/>
This of course will also hide the calendar icon, but that may be ok for your purposes.
For what it's worth, I was able to accomplish something similar using the following...
<Datepicker toggleClassName="hidden" ... />This of course will also hide the calendar icon, but that may be ok for your purposes.
Great suggestion, thanks @bradbyte! That did the trick for my use case.