Results 1 to 3 of 3

Thread: [FIXED-224] Hidden-Field doesn't work

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1

    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

    Default

    Thank you for the report.

  3. #3
    Sencha User hendricd's Avatar
    Join Date
    Aug 2007
    Location
    Long Island, NY USA
    Posts
    5,966

    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

Posting Permissions

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