v7.3.0

TextAreaPickerField
Widget

A picker field that opens a dropdown <textarea> for multiline text input. Unlike TextAreaField which renders the textarea inline, this widget keeps a compact single-line appearance and expands into a picker dropdown when triggered. This field can be used as a cell editor in a Grid.

const textAreaPicker = new TextAreaPickerField({
    label       : 'Notes',
    placeholder : 'Enter some text',
    appendTo    : document.body
});

Useful configs and properties

Config Description
value Current text value
placeholder Placeholder text shown when empty
label Field label displayed beside the field

See also

No results

Configs

Configs are options you supply in a configuration object when creating an instance of this class
  • resize : 'none'/'both'/'horizontal'/'vertical'none

    The resize style to apply to the <textarea> element.

Properties

Properties are getters/setters or publicly accessible variables on this class

CSS variables

CSS variables that can be set to adjust appearance
Name Description
--b-text-area-picker-field-picker-background Picker background
--b-text-area-picker-field-picker-color Picker color
type: textareapickerfield

Source path

Core/widget/TextAreaPickerField.js

Contents