-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
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
Unable to edit date from input #46
Comments
I think a lot of troubles is actually coming from the In fact, I always recommend ppl copy paste the |
Hi! |
Unfortunately no, since the default input is a popover trigger now, make it editable will cause confusing behavior, we don't know whether you want to open the panel or edit the input when you click the input. At least it's not possible for the current input wrapper. I think you might want to create your own input wrapper to mimic the correct HTML datepicker behavior. The latest version separates the calendar from input. check the calendar example: https://aboveyunhai.github.io/chakra-dayzed-datepicker/ |
Why not just make a button next to the input where you can open/close it from there? And make the input editable and doesn’t trigger the calendar when clicked ? Because in the example you shared, once I click on the input it still opens the calendar. |
@L2Develop96 The reason is pretty simple, I didn't think that much when I create the lib, nor caring about the default html datepicker behavior (feel free to call me stupid)😅. it was just a copy&paste demo I used at the beginning. So the easiest way to just create a new datepicker component or |
I can't find a way to edit the date directly from the input field without having to open the date picker.
The text was updated successfully, but these errors were encountered: