Hi @wojtekmaj . Can I remove that clear icon that is present by default in datepicker. I don't want to show that x icon in my case. Is there any prop to disable that icon. It would be super helpful.
Here is a screenshot:

Sorryy for troubling you. I just turned the display to none in css. Let me know if there is a prop available to disable it. Would be nice to check that too. Feel free to comment and close this if it is something that might be availalbe in future release.
While your solution is perfectly okay, I agree there should be a way to disable it just like you can with other icons. I'll do that!
Just checked - setting clearIcon={null} will remove the icon completely. Documentation will be updated to make it clearer.
Just checked - setting
clearIcon={null}will remove the icon completely. Documentation will be updated to make it clearer.
I tried same thing but it is not working :/ @wojtekmaj
Most helpful comment
Just checked - setting
clearIcon={null}will remove the icon completely. Documentation will be updated to make it clearer.