orchidsoftware / orchidsoftware/platform
DateTimer in Listener
@tabuna is already working on this.
Since Mar 13, 2024.
- Dominant language
- PHP
- Stars
- 4.8k
- Forks
- 662
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 7
Description
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
- Create Listener with DateTimer field
- 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
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.