Skip to main content

TextInput

Extends

Constructors

Constructor

new TextInput(options): TextInput;

Parameters

ParameterType
optionsTextInputOptions & AbstractTextInputOptions

Returns

TextInput

Inherited from

AbstractTextInput<
{
OPTIONS: TextInputOptions;
} & TextInputFormGenerics
>.constructor

Properties

PropertyTypeInherited from
optionsTextInputOptions & AbstractTextInputOptionsAbstractTextInput.options
valuestringAbstractTextInput.value

Accessors

error

Get Signature

get error(): string;
Returns

string

Inherited from

AbstractTextInput.error

label

Get Signature

get label(): string;
Returns

string

Inherited from

AbstractTextInput.label

name

Get Signature

get name(): string;
Returns

string

Inherited from

AbstractTextInput.name

placeholder

Get Signature

get placeholder(): string;
Returns

string

Inherited from

AbstractTextInput.placeholder

valid

Get Signature

get valid(): boolean;
Returns

boolean

Inherited from

AbstractTextInput.valid

visible

Get Signature

get visible(): boolean;
Returns

boolean

Inherited from

AbstractTextInput.visible

Methods

dispose()

dispose(): void;

Returns

void

Inherited from

AbstractTextInput.dispose

isValid()

isValid(): boolean;

Whether this field is valid. Hidden fields do not block the form.

Returns

boolean

Inherited from

AbstractTextInput.isValid

remove()

remove(): void;

Returns

void

Inherited from

AbstractTextInput.remove

renderControl()

renderControl(options): Element;

Parameters

ParameterType
optionsFormInputRenderOptions

Returns

Element

Overrides

AbstractTextInput.renderControl

renderInputWidget()

renderInputWidget(options): Element;

Parameters

ParameterType
optionsFormInputRenderOptions

Returns

Element

Inherited from

AbstractTextInput.renderInputWidget

setValue()

setValue(value): void;

Parameters

ParameterType
valuestring

Returns

void

Inherited from

AbstractTextInput.setValue

update()

update(options): void;

Parameters

ParameterType
optionsPartial<Omit<T["OPTIONS"], "name" | "value">>

Returns

void

Inherited from

AbstractTextInput.update

validate()

validate(): void;

Returns

void

Inherited from

AbstractTextInput.validate