OMikkel/tailwind-datepicker-react

Placeholder prop not working

Opened this issue · 2 comments

Thanks for great product - one question I'm trying to use placeholder prop but if no date selected then today's date is showing rather than placeholder - is there a way to support showing placeholder if no date selected?

Thanks

I was having the same issue, but I found out that if you pass defaultDate: null it works as expected.

thanksss, it really works