Bpc Text Field
The BPC provides a text field that offers additional functionalities.
Use
To use the field, only a component with the xtype bpcTextField must be created.
Empty Icon
In addition to the emptyText attribute, a emptyIconCls (for example x-fal fa-save) can also be specified.
|
To activate |
This references an Font Awesome icon which is displayed with the emptyText if the value of the combo box is empty.
Ext.create({
xtype: "bpcTextField",
fieldLabel : "Text Label",
plugins: [
{
ptype: "bpcInputField"
}
],
emptyText : "empty",
emptyIconCls : "x-fal fa-save"
})
Keywords: