Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext User
    Join Date
    Jul 2010
    Posts
    1
    Vote Rating
    0
    jschoder is on a distinguished road

      0  

    Lightbulb [FIXED-224] Hidden-Field doesn't work

    Even in the Form-Example (Chrome-Browser) the hidden-Field is not working. It creates the div but not the "hidden"-Field.

    I added the "renderTpl"-parameter to my system to make it work:
    Code:
    renderTpl: [
                '<div <tpl if="id">id="{id}" </tpl>class="{baseCls} <tpl if="cmpCls"> {cmpCls}</tpl><tpl if="ui"> {uiBase}-{ui}</tpl> <tpl if="label">{labelAlign}</tpl>" <tpl if="style"> style="{style}"</tpl>>',
                    '<input id="{inputId}" type="{type}" name="{name}" class="{fieldCls}" />', 
                '</div>'
            ],
    The div-tag is mostly copied from ext.Field

    In the version 0.93 of the file ext-touch-debug-w-comments.js they change had to take place in line 27414.

  2. #2
    Sencha User Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    18
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default

    Thank you for the report.

  3. #3
    Sencha - Services Team hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,965
    Vote Rating
    12
    hendricd will become famous soon enough hendricd will become famous soon enough

      0  

    Default

    This has been fixed for the next Touch release.

    In the interim, this override will permit the hidden input to be rendered:

    Code:
      Ext.override(Ext.form.HiddenField , {
      autoCreateField: true
    })
    "be dom-ready..."
    Doug Hendricks

    Maintaining ux: ManagedIFrame, MIF2 (FAQ, Wiki), ux.Media/Flash, AudioEvents, ux.Chart[Fusion,OFC,amChart], ext-basex.js/$JIT, Documentation Site.


    Got Sencha licensing questions? Find out more here.


Similar Threads

  1. form.find() doesn't work for hidden fields?
    By zhegwood in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 31 Mar 2009, 12:51 PM
  2. doesn't work hidden: true
    By extpic in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 24 Mar 2009, 10:10 PM
  3. Combobox doesn't empty hidden field.
    By tboattbo in forum Ext 2.x: Help & Discussion
    Replies: 8
    Last Post: 10 Oct 2008, 6:25 AM
  4. Toolbar with hidden: true doesn't work in IE7
    By marcing in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 21 Aug 2008, 8:10 AM
  5. Clearing TimeField (hidden form field doesn't get cleared)
    By dolzenko in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 18 Apr 2008, 5:52 AM

Thread Participants: 2