Results 1 to 2 of 2

Thread: [CLOSED]Lazy loading hiddenfield causes js error

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    220

    Default [CLOSED]Lazy loading hiddenfield causes js error

    Lazy loading a hiddenfield in the below example throws a javascript error. Works fine if you create the field by doing "new Ext.form.HiddenField()".

    Code:
    Ext.setup({ onReady: function () {
    new Ext.Panel({ fullscreen: true, items: [{xtype:'hiddenfield'}] });
    }});
    

  2. #2
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,258

    Default

    This isn't a bug, the xtype is 'hidden', not 'hiddenfield'.

    We'll look at updating the docs so it also shows the xtype in the class definition.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Similar Threads

  1. Lazy loading javascript framework
    By keypoint in forum Ext 3.x: User Extensions and Plugins
    Replies: 0
    Last Post: 21 Oct 2009, 3:12 PM
  2. Lazy Loading
    By Algiano in forum Ext GWT: Discussion
    Replies: 1
    Last Post: 30 Jul 2009, 2:11 PM
  3. Grouping grid - lazy loading
    By zeroed in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 3 Jul 2009, 6:45 AM
  4. Lazy script loading ...again
    By hpet in forum Ext 2.x: Help & Discussion
    Replies: 3
    Last Post: 2 Mar 2008, 7:14 AM
  5. Replies: 1
    Last Post: 19 Jan 2008, 12:48 PM

Posting Permissions

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