themesberg / flowbite

Open-source UI component library and front-end development framework based on Tailwind CSS
https://flowbite.com
MIT License
7.55k stars 715 forks source link

datepicker: Get selected date and time via inline data using custom event listener #633

Closed deanilvincent closed 7 months ago

zoltanszogyenyi commented 7 months ago

Hey @deanilvincent,

Thanks for the PR.

I'm thinking the best way to do this is to transform the datepicker plugin and add it to our own InstanceManager:

https://flowbite.com/docs/getting-started/javascript/#instance-manager

If you're up to it then I'm more than happy to review a new PR.

Cheers, Zoltan