Skip to content
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

DateTimer in Listener #2811

Open
plamenradev opened this issue Mar 13, 2024 · 0 comments
Open

DateTimer in Listener #2811

plamenradev opened this issue Mar 13, 2024 · 0 comments
Assignees
Labels

Comments

@plamenradev
Copy link

Describe the bug
When using DateTimer field within Listener - only first calendar date pick updates the input field and triggers the event for the listener. The calendar stays open, which is fine, but when you try to pick a different date - it doesn't update the input field and doesn't trigger the event for listener.

If you close the calendar and open it again and pick a new date - it updates the input field, but just the first time when you pick a date. I write some JS code, which closes the calendar on input change, but it works well only if you don't have a time picker - so you just pick a date and the calendar closes. BUT when you have a timer picker as well - the calendar is closed on every hour/minutes change, so if you need to select 18h you need to open and change the hours few times, which is annoying.

To Reproduce

  1. Create Listener with DateTimer field
  2. Pick a date from the calendar at least twice without closing the calendar - only first time the input field is updated, the second time nothing happened.

Expected behavior
Update the input field and make request to the listener method everytime you pick a date without closing the calendar

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOs
  • Browser Chrome

Server (please complete the following information):

  • Platfrom Version: 13.10.0
  • Laravel Version: 9.52.9
  • PHP Version: 8.1.26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants