Labelable

Configs

4

Label, prepended to field

labelCls: String | Object

CSS class name or class names to add to any configured label

labelPosition: before | above | null

Label position, either 'before' the field or 'above' the field

Leaving it out, or specifying null, lets the theme decide on label placement.

labelWidth: String | Number

The width to apply to the <label> element. If a number is specified, px will be used.

Properties

3

Class hierarchy

isLabelable: Boolean= truereadonly
Identifies an object as an instance of Labelable class, or subclass thereof.
isLabelable: Boolean= truereadonlystatic
Identifies an object as an instance of Labelable class, or subclass thereof.

Misc

Get/set fields label. Please note that the Field needs to have a label specified from start for this to work, otherwise no element is created.