Closed dlopesa closed 5 days ago
Hey @dlopesa,
Since the new v2.4.1
release you can now use the getDate()
and setDate()
methods:
https://flowbite.com/docs/components/datepicker/index.html#methods
Please check the docs on the Flowbite API and get the instance via the Instance Manager.
Cheers, Zoltan
Date does not change inside datepicker even if the date variable is changed
Steps to reproduce
give datepicker a date, then trying to change outside of the datepicker
Current behavior
Even though the variable date changes, the value inside the datepicker does not change
Expected behavior
Datepicker should show the date that is setted as the current date on the variable
Context
When clicking on the arrows it should go a dar forward or back
I deleted parts of the code that are not relevant so divs might be broken