ArrayInput<T>
Extends
Type Parameters
| Type Parameter |
|---|
T |
Constructors
Constructor
new ArrayInput<T>(options): ArrayInput<T>;
Parameters
| Parameter | Type |
|---|---|
options | ArrayInputOptions<T> |
Returns
ArrayInput<T>
Overrides
Properties
| Property | Type | Inherited from |
|---|---|---|
entries | Map<string, FormInput<FormInputGenerics>> | - |
entryListeners | Set<() => any> | - |
loading | boolean | - |
options | ArrayInputOptions<T> | FormInput.options |
value | T[] | FormInput.value |
Accessors
error
Get Signature
get error(): string;
Returns
string
Inherited from
label
Get Signature
get label(): string;
Returns
string
Inherited from
name
Get Signature
get name(): string;
Returns
string
Inherited from
placeholder
Get Signature
get placeholder(): string;
Returns
string
Inherited from
valid
Get Signature
get valid(): boolean;
Returns
boolean
Overrides
visible
Get Signature
get visible(): boolean;
Returns
boolean
Inherited from
Methods
dispose()
dispose(): void;
Returns
void
Inherited from
isValid()
isValid(): boolean;
Whether this field is valid. Hidden fields do not block the form.
Returns
boolean
Inherited from
remove()
remove(): void;
Returns
void
Inherited from
renderControl()
renderControl(options): Element;
Parameters
| Parameter | Type |
|---|---|
options | FormInputRenderOptions |
Returns
Element
Overrides
renderInputWidget()
renderInputWidget(options): Element;
Parameters
| Parameter | Type |
|---|---|
options | FormInputRenderOptions |
Returns
Element
Inherited from
setLoading()
setLoading(loading?): void;
Parameters
| Parameter | Type |
|---|---|
loading | boolean |
Returns
void
setValue()
setValue(values): void;
Parameters
| Parameter | Type |
|---|---|
values | T[] |
Returns
void
Overrides
update()
update(options): void;
Parameters
| Parameter | Type |
|---|---|
options | Partial<Omit<T["OPTIONS"], "name" | "value">> |
Returns
void
Inherited from
validate()
validate(): void;
Returns
void