Results 1 to 3 of 3

Thread: Ext.form.Panel.reset() does not reset hidden fields

    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1186 in a recent build.
  1. #1
    Sencha User aflx's Avatar
    Join Date
    Jun 2011
    Location
    Berlin, Germany
    Posts
    64
    Vote Rating
    0
      0  

    Default Ext.form.Panel.reset() does not reset hidden fields

    Today I figured out, that the reset function in PR2 of a hidden field is an empty function (Ext.emptyFn).
    Is this a bug or a feature?

    Bye,
    Alex

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    This is due to the reset method coming from Ext.field.Text but Ext.field.Hidden extends from Ext.field.Field so therefore does not get the reset method.

    With that said, Ext.field.Hidden should have a reset method so I am opening a ticket.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User aflx's Avatar
    Join Date
    Jun 2011
    Location
    Berlin, Germany
    Posts
    64
    Vote Rating
    0
      0  

    Default

    Great! Thank you

Posting Permissions

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