-
28 Apr 2009 3:47 AM #11
What if you just set the focus on the next input field on the form?
-
28 Apr 2009 4:32 AM #12
What do you mean? How does one "set the focus"?
The problem we are describing is about tabbing out of the dateField after you pick-a-date from the calendar. It doesn't work as it should UNLESS you assign a tabindex value to the fields before, after and including the dateField.
Normally, the form flow is determined by the text-field's order in the html code (unless tabindex is specified). When "tabbing" out of a field, focus should go to the next field in the markup/html, usually to the right or below the current field.
-
15 Jun 2009 7:41 AM #13
Hey, i have the same problem in my application, but i can not solve it by using a tabIndex, because the user can dynamically add any number of fields in the middle of the form at some certain spots.
So I am really interested in your solution here?! Any progress anyone?
-
15 Jun 2009 7:55 AM #14
-
16 Jun 2009 1:02 AM #15
OMG!
It's so easy, thank you, NightAvatar! I don't know why my little brain didn't come up with that solution... 
-
23 Jun 2009 3:43 PM #16
found the solution: onClose:
found the solution: onClose:
Code:$(function() { $("#fdate").datepicker({ onClose: function(){ $("#fdate").focus(); } }); });Last edited by mystix; 23 Jun 2009 at 5:50 PM. Reason: POST CODE IN [code][/code] TAGS!
-
23 Jun 2009 6:02 PM #17
you're assuming everyone gives datefields ids of "fdate", and that everyone uses jquery.
[edit]
note: i just tried my test case from post #6 again, using the latest code from 2.x SVN, without any of the above overrides, and this bug appears to have been resolved for WebKit browsers only.Last edited by mystix; 23 Jun 2009 at 6:18 PM. Reason: edit - removed code. refocusing doesn't work for Firefox.
Sencha Docs / Ext 3.x - ( Docs | Examples )
Learning Center / Saki's Examples (for 2.x) / HOWTO - ( Report Bugs | Post Proper Code )
-
16 Aug 2009 5:00 AM #18
may be it's the same bug
may be it's the same bug
Hi, all.
I think i have the same bug in my application. but i'm not using tabs. i have Modal dialog with 4 datefields (not counting the remaining fields). When I select a date in one of them - everything is OK, but clicking on numberfield - the focus from him permanently lost(from numberfield) - i can't type the number.
Does anyone knows a solution for this issue?
ps. Ext. 2.2.1, FF 3.5.2.Last edited by jamiro; 16 Aug 2009 at 5:02 AM. Reason: forgot type some additional information
-
22 Oct 2009 10:28 AM #19
Progress
Progress
Any progress on this? I've got 2.3 installed and still am seeing the issue in FireFox 3.5.3 on OSX. After using the calendar selection widget of a date field, I can do whatever I want with the form/page, but the first time I hit tab, focus goes to the first item on the page.
-
22 Oct 2009 10:49 AM #20
Any word on this bug? Based upon the 2.3 change log, I was hoping this issue had been fixed. I was wrong -- tabindex is still busted.


Reply With Quote