Results 1 to 2 of 2

Thread: Incorrect Documentation for Ext.Form 6.5.1

  1. #1
    Sencha Premium User
    Join Date
    Mar 2017
    Posts
    5
    Vote Rating
    0
      0  

    Default Incorrect Documentation for Ext.Form 6.5.1

    The example given does not generate labels for form fields. "label" property must be changed to "fieldLabel"

    Ext.create('Ext.form.Panel', {
    fullscreen: true,
    items: [
    {
    xtype: 'fieldset',
    title: 'About You',
    instructions: 'Tell us all about yourself',
    items: [
    {
    xtype: 'textfield',
    name : 'firstName',
    label: 'First Name'
    },
    {
    xtype: 'textfield',
    name : 'lastName',
    label: 'Last Name'
    }
    ]
    }
    ]
    });

  2. #2
    Sencha - Support Team
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506
    Vote Rating
    292
      0  

    Default

    Can you please post a link to the page to which you are referring? The modern page uses label as is appropriate:
    http://docs.sencha.com/extjs/6.5.1/m...orm.Panel.html

    The classic page uses fieldLabel:
    http://docs.sencha.com/extjs/6.5.1/c...orm.Panel.html

    The documentation for Ext.field.Text and Ext.form.field.Text seem to me to be correct.

    Lifecycle management for your web apps

Similar Threads

  1. Ext.device.Contacts documentation incorrect
    By hello@mohawktech.co.nz in forum Sencha Touch 2.x: Bugs
    Replies: 1
    Last Post: 23 Sep 2014, 2:45 PM
  2. [FIXED] Incorrect documentation for Ext.form.Panel#submit method
    By szimek in forum Sencha Touch 2.x: Bugs
    Replies: 1
    Last Post: 17 Dec 2012, 7:14 AM
  3. Hbox Layout documentation seems incorrect?
    By busaware1 in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 30 Apr 2012, 8:29 PM
  4. XType Documentation Incorrect
    By benwhite in forum Sencha Touch 1.x: Bugs
    Replies: 0
    Last Post: 17 Mar 2011, 11:12 AM
  5. Documentation incorrect
    By azara in forum Ext GWT: Bugs (2.x)
    Replies: 0
    Last Post: 5 Apr 2010, 9:25 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
  •