Results 1 to 2 of 2

Thread: Tabbed form validate required data in disabled tab

  1. #1
    Ext User
    Join Date
    Jan 2010
    Posts
    68

    Default Tabbed form validate required data in disabled tab

    I have a form tabbed in two panels, one of them disabled. I use deferredRender: true to avoid render items in the disabled tab and don't submit its items. And it seems it works!

    My problem appears when I set the allowBlank: false in one of the items in the disabled panel. When I submit the form and I validate it, I get an error because I have required input field not filled in.

    Any idea? Could be a bug of the ExtJS 3.2.1?

  2. #2
    Ext User
    Join Date
    Jan 2010
    Posts
    68

    Default

    I'm completely sure this is a bug as you can read at deferredRender definition:

    Note: leaving deferredRender as true means that the content within an unactivated tab will not be available. For example, this means that if the TabPanel is within a form, then until a tab is activated, any Fields within unactivated tabs will not be rendered, and will therefore not be submitted and will not be available to either getValues or setValues.
    I'm going to move this thread to the Bugs forum.

Similar Threads

  1. Tabbed form no submit disable tab
    By brk11 in forum Ext 3.x: Help & Discussion
    Replies: 11
    Last Post: 22 Jul 2010, 5:27 AM
  2. Loading data store from multiple sources for tabbed form
    By rbraddy in forum Ext 3.x: Help & Discussion
    Replies: 7
    Last Post: 17 Oct 2009, 1:27 PM
  3. Data Submit Problem in Tabbed Form
    By jigar_dave in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 3 Mar 2008, 3:19 AM
  4. Validate Me! (Yes, I am a disabled form element)
    By alindsay55661 in forum Ext 1.x: Bugs
    Replies: 4
    Last Post: 3 Jul 2007, 12:10 AM

Posting Permissions

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