1. #11
    Ext User
    Join Date
    Apr 2009
    Posts
    4
    Vote Rating
    0
    ThornTech is on a distinguished road

      0  

    Default


    What if you just set the focus on the next input field on the form?

  2. #12
    Sencha User NightAvatar's Avatar
    Join Date
    Nov 2008
    Location
    Norway
    Posts
    206
    Vote Rating
    0
    NightAvatar is on a distinguished road

      0  

    Default


    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.

  3. #13
    Ext JS Premium Member
    Join Date
    Apr 2008
    Location
    Munich, Germany
    Posts
    24
    Vote Rating
    0
    msnajdr is on a distinguished road

      0  

    Default


    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?

  4. #14
    Sencha User NightAvatar's Avatar
    Join Date
    Nov 2008
    Location
    Norway
    Posts
    206
    Vote Rating
    0
    NightAvatar is on a distinguished road

      0  

    Default


    Quote Originally Posted by msnajdr View Post
    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?
    I suggest you give all the fields the same tabindex. The dynamic ones too.

  5. #15
    Ext JS Premium Member
    Join Date
    Apr 2008
    Location
    Munich, Germany
    Posts
    24
    Vote Rating
    0
    msnajdr is on a distinguished road

      0  

    Default


    OMG! It's so easy, thank you, NightAvatar! I don't know why my little brain didn't come up with that solution...

  6. #16
    Ext User
    Join Date
    Jun 2009
    Posts
    1
    Vote Rating
    0
    simon551 is on a distinguished road

      0  

    Default 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!

  7. #17
    Sencha - Community Support Team mystix's Avatar
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    6,236
    Vote Rating
    4
    mystix will become famous soon enough

      0  

    Default


    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.

  8. #18
    Sencha User
    Join Date
    Jun 2008
    Posts
    8
    Vote Rating
    0
    jamiro is on a distinguished road

      0  

    Default 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

  9. #19
    Ext User
    Join Date
    Aug 2007
    Posts
    16
    Vote Rating
    0
    aarcro is on a distinguished road

      0  

    Question 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.

  10. #20
    Ext JS Premium Member
    Join Date
    Aug 2008
    Location
    Parts Unknown
    Posts
    5
    Vote Rating
    0
    Huuuze is on a distinguished road

      0  

    Default


    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.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar