Bug report for discussion before I can submit it to the issue tracker:
When a datepicker field gains focus, the small calendar appears. Choosing a date from the calendar by clicking on it makes the datepicker field lose focus. Hitting tab to advance to the next field in the form will then instead jump to the first formfield on the page.
Suggested solution: Choosing a date from the calendar should close the calendar but keep the field focused.
=> is it a new, valid bug request?
=> is the suggested solution correct? How can it technically be implemented?
thanks, Johannes
calendar loses focus
since there has been no reaction so far, i posted the issue in the primefaces issue tracker,
http://code.google.com/p/primefaces/iss ... il?id=1868
http://code.google.com/p/primefaces/iss ... il?id=1868
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Thanks, we'll check this one in detail later during maintenance before 3.0.
This looks more like a JQuery Datepicker issue than a PrimeFaces issue. It can also be seen in the jQuery showcase: http://jqueryui.com/demos/datepicker/#date-formats.
The calendar appears when the textbox is given the focus. If the textbox is given the focus after a date is picked, the calendar will disappear and immediately reappear which is not what the user wants.
The calendar appears when the textbox is given the focus. If the textbox is given the focus after a date is picked, the calendar will disappear and immediately reappear which is not what the user wants.
-
- Posts: 1
- Joined: 07 Aug 2014, 06:31
we are using primefaces 5.1 and we still have this issue, any suggestion on how to fix that or any workaround?
Would it be possible to fix this in the show case ?
I can see a workaround here :
https://stackoverflow.com/questions/297 ... ect-a-date
I can see a workaround here :
https://stackoverflow.com/questions/297 ... ect-a-date