TextInput
Extends
AbstractTextInput<{OPTIONS:TextInputOptions; } &TextInputFormGenerics>
Constructors
Constructor
new TextInput(options): TextInput;
Parameters
| Parameter | Type |
|---|---|
options | TextInputOptions & AbstractTextInputOptions |
Returns
TextInput
Inherited from
AbstractTextInput<
{
OPTIONS: TextInputOptions;
} & TextInputFormGenerics
>.constructor
Properties
| Property | Type | Inherited from |
|---|---|---|
options | TextInputOptions & AbstractTextInputOptions | AbstractTextInput.options |
value | string | AbstractTextInput.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
| Parameter | Type |
|---|---|
options | FormInputRenderOptions |
Returns
Element
Overrides
AbstractTextInput.renderControl
renderInputWidget()
renderInputWidget(options): Element;
Parameters
| Parameter | Type |
|---|---|
options | FormInputRenderOptions |
Returns
Element
Inherited from
AbstractTextInput.renderInputWidget
setValue()
setValue(value): void;
Parameters
| Parameter | Type |
|---|---|
value | string |
Returns
void
Inherited from
AbstractTextInput.setValue
update()
update(options): void;
Parameters
| Parameter | Type |
|---|---|
options | Partial<Omit<T["OPTIONS"], "name" | "value">> |
Returns
void
Inherited from
AbstractTextInput.update
validate()
validate(): void;
Returns
void
Inherited from
AbstractTextInput.validate