Results 1 to 2 of 2

Thread: label not showing for simple example

  1. #1
    Sencha User
    Join Date
    Oct 2009
    Posts
    85
    Answers
    3

    Default label not showing for simple example

    using extjs Ext JS 6.2.0.981 Classic in fiddle

    Code:
    Ext.application({    name: 'Fiddle',
        launch: function() {
            
    
    
     	Ext.create('Ext.form.Panel', {
                renderTo: document.body,
                title: 'Test'
                ,items: [
                 {
                        xtype: 'textfield',
                        label: 'First Name',
                        name: 'firstName',
                     value: 'Joe'
                    }]
            });
        }
    });

  2. #2
    Sencha Premium Member
    Join Date
    Dec 2012
    Location
    Seattle, WA
    Posts
    423
    Answers
    34

    Default

    That's because the config is fieldLabel not label.

    https://fiddle.sencha.com/#fiddle/1ijc

Similar Threads

  1. Simple Combo Box Label Width
    By hiinsu in forum Ext GWT: Discussion
    Replies: 2
    Last Post: 23 Jun 2010, 7:50 AM
  2. simple label question (not rendering)
    By stratton in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 28 Jan 2009, 9:49 AM
  3. A simple question about label
    By kadet_bigler in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 26 Nov 2008, 9:05 AM
  4. How to create simple label
    By Royan in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 16 Nov 2007, 2:18 AM

Tags for this Thread

Posting Permissions

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