themesberg / flowbite-react

Official React components built for Flowbite and Tailwind CSS
https://flowbite-react.com
MIT License
1.82k stars 406 forks source link

Datepicker only changes on manual click. #1187

Open ddiasfront opened 8 months ago

ddiasfront commented 8 months ago

Summary

Datepicker can't be updated without a click function.

Context

This issue was found in a scenario where I needed to update the selectedDate without clicking into the component, just by passing a value to the Datepicker, and actually it just accepts changes by clicking which I don't believe covers the use cases.

ddiasfront commented 8 months ago

@rluders I'm submitting a PR for that.

rluders commented 8 months ago

@ddiasfront thanks. I'll check it ASAP (valeu, jovem)

ddiasfront commented 8 months ago

https://github.com/themesberg/flowbite-react/pull/1190