We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<Datepicker autoHide={true} onSelectedDateChanged={(date) => { const localDate = new Date( date.getTime() - date.getTimezoneOffset() * 60000 ); const dateString = localDate.toISOString().split("T")[0]; console.log(dateString); // Log the date string setDate(dateString); }} className="dark" />
The auto hide does not work, even after selecting a date it does not disappear
After choosing a day it should disappear
Use a date picker
Video: https://github.com/themesberg/flowbite-react/assets/39463084/b48cd144-9ad7-48c7-a9ac-495ad84225cf
The text was updated successfully, but these errors were encountered:
I'm not sure if this will solve your problem, @dlopesa , but...
I had the same problem. I had the <DatePicker/> wrapped in a <label/>. Problem went away when I changed <label/> to <div/>.
<DatePicker/>
<label/>
<div/>
FROM:
<label > <div > <span > {label} </span> </div> <Datepicker/> </label>
TO:
<div > <div > <span > {label} </span> </div> <Datepicker/> </div>
Sorry, something went wrong.
Thank you so much, I decided to move "https://react-tailwindcss-datepicker.vercel.app"
No branches or pull requests
Steps to reproduce
Current behavior
The auto hide does not work, even after selecting a date it does not disappear
Expected behavior
After choosing a day it should disappear
Context
Use a date picker
Video:
https://github.com/themesberg/flowbite-react/assets/39463084/b48cd144-9ad7-48c7-a9ac-495ad84225cf
The text was updated successfully, but these errors were encountered: