You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I was trying to get the calendar to work automatically without a specified toggle. There's a couple small places where the toggle is required (missing checks for hasToggleTarget). But after that, when I added data-action="focus->datepicker#toggle" to my input the calendar steals the focus and disappears.
Trying to get this working myself I wasted quite some time that I can't really spare right now. Would you be willing to add this option to the datepicker? So it isn't triggered explicitly by clicking the toggle but automatically when the input field it's attached to is focus (but still leaving the option to enter the date using the keyboard)?
I might find some time for this later but I'm not really sure.
The text was updated successfully, but these errors were encountered:
How about if you keep the toggle but hide it; and when the input receives the focus, trigger a click on the toggle? You might also have to focus the input again.
...time that I can't really spare right now.
I don't have any time available at the moment I'm afraid.
Fixing the requirement for having a trigger was the easy part, but then having the calendar work without having focus turned out to be a hard thing. I'll try and find some time for this.
Hi. I was trying to get the calendar to work automatically without a specified toggle. There's a couple small places where the
toggle
is required (missing checks forhasToggleTarget
). But after that, when I addeddata-action="focus->datepicker#toggle"
to my input the calendar steals the focus and disappears.Trying to get this working myself I wasted quite some time that I can't really spare right now. Would you be willing to add this option to the datepicker? So it isn't triggered explicitly by clicking the toggle but automatically when the input field it's attached to is focus (but still leaving the option to enter the date using the keyboard)?
I might find some time for this later but I'm not really sure.
The text was updated successfully, but these errors were encountered: