Die BPC Version 4.1 wird nicht mehr gewartet.

Sollten Sie diese BPC Version nutzen, empfehlen wir Ihnen eine Migration auf eine aktuelle Version. Die Dokumentation zur neusten BPC Version finden Sie hier. Sollten Sie Fragen haben, wenden Sie sich bitte an unseren Support.

BPC Text Field

The BPC provides a text field that offers additional functionality.

Usage

To use the field, simply create a component with the xtype bpcTextField.

Empty Icon

In addition to the emptyText attribute, an emptyIconCls (for example, x-fal fa-save) can be specified.

To enable the emptyIconCls, you must use the bpcInputField plugin in the component so that a placeholder for the icon can be created.

This references a Font Awesome icon that is displayed with the emptyText when the combo box value is empty.

bpcTextFieldEmptyIcon
  Ext.create({
                  xtype: "bpcTextField",
                  fieldLabel : "Text Label",
                  plugins: [
                    {
                      ptype: "bpcInputField"
                    }
                  ],
                  emptyText : "empty",
                  emptyIconCls : "x-fal fa-save"
    })

Keywords: