FieldLabel in ext:TextField is useless unless we're using ext:FormLayout?

  1. #1

    FieldLabel in ext:TextField is useless unless we're using ext:FormLayout?

    I'm trying to use markup to build a form that has multiple columns (ie State: [ ] Zip: [ ])

    Am I able to accomplish something like that using "ext:FormLayout" ? I haven't figured out a way to.


    If I'm using FieldPanel with a different Layout, however, the field labels don't show up.


    It seems that the only time when "FieldLabel" attribute of the ext:TextField gets used is when we're using ext:FormLayout.


    Is this true?


    Thanks!







  2. #2

    RE: FieldLabel in ext:TextField is useless unless we're using ext:FormLayout?

    It seems that the only time when "FieldLabel" attribute of the ext:TextField gets used is when we're using ext:FormLayout.

    Is this true?

    Yes. The FieldLabel is only rendered when the Field/Component is used within a FormLayout/FormPanel. See http://www.extjs.com/deploy/dev/docs...ber=fieldLabel


    Note: this config is only used when this Component is rendered by a Container which has been configured to use the FormLayout layout manager

    Hope this helps.


    Geoffrey McGill
    Founder

Similar Threads

  1. [CLOSED] TextField and FieldLabel
    By majunior in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 10, 2011, 2:30 PM
  2. FieldLabel Textfield without semicolumn
    By GijsZePa in forum 1.x Help
    Replies: 6
    Last Post: Mar 16, 2010, 11:52 AM
  3. [CLOSED] Textfield Fieldlabel
    By amitpareek in forum 1.x Legacy Premium Help
    Replies: 10
    Last Post: Dec 02, 2009, 5:45 PM
  4. [CLOSED] FormLayout + ComboBox with TextField
    By Zarzand in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 05, 2009, 11:21 AM
  5. Replies: 1
    Last Post: Nov 14, 2008, 4:36 AM

Posting Permissions