Results 1 to 4 of 4

Thread: focus() doesn't allow typing in DateField

  1. #1
    Ext User dotnetCarpenter's Avatar
    Join Date
    Mar 2007
    Location
    Copenhagen, Denmark
    Posts
    271

    Default focus() doesn't allow typing in DateField

    Can someone confirm that if you set focus to a DateField you can not type anything before you reselect it?

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854

    Default

    Just tried this with the dynamic form example and it worked in FF and IE7.
    Code:
    fs.findField('dob').focus()  // or focus(true)

  3. #3
    Ext User dotnetCarpenter's Avatar
    Join Date
    Mar 2007
    Location
    Copenhagen, Denmark
    Posts
    271

    Default

    Hmm.. I might loose focus because I'm adding tabs to TabPanel which contains the form...

  4. #4
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854

    Default

    Adding a tab will trigger activation which may be shifting focus away from your form.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •