A mixin which allows a component to be configured and decorated with a label and/or error message like a form field. This is used by Ext.form.BaseField and Ext.form.FieldContainer to let them be managed by the field layout.
Component classes which use this mixin should use the Field layout or a derivation thereof to properly size and position the label and message according to the component config. They must also call the initLabelable method during component initialization to ensure the mixin gets set up correctly.
Set to true to completely hide the label element (label and separator). Defaults to false.
By default, even if you do not specify a fieldLabel the space will still be reserved so that the field will line up with other fields that do have labels. Setting hideLabel to true will cause the field to not reserve that space.
Controls the position and alignment of the fieldLabel. Valid values are:
A CSS style specification string to apply directly to this field's label. Defaults to undefined.
A CSS style specification string to apply directly to this field's label. Defaults to undefined.
The location where the error message text should display. Must be one of the following values:
qtip
Display a quick tip containing the message when the user hovers over the field. This is the default.
title
Display the message in a default browser title attribute popup.under
Add a block div beneath the field containing the error message.side
Add an error icon to the right of the field, displaying the message in a popup on hover.[element id]
Add the error message directly to the innerHTML of the specified element.