GroupInput<T>
Extends
Type Parameters
| Type Parameter | Default type |
|---|---|
T | { } |
Constructors
Constructor
new GroupInput<T>(options): GroupInput<T>;
Parameters
| Parameter | Type |
|---|---|
options | GroupInputOptions<T> |
Returns
GroupInput<T>
Overrides
Properties
| Property | Type | Inherited from |
|---|---|---|
disposeListeners | () => any | - |
inputs | FormInput<FormInputGenerics>[] | - |
options | GroupInputOptions<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
Overrides
getInput()
Call Signature
getInput<T>(input): T;
Type Parameters
| Type Parameter |
|---|
T extends FormInput<FormInputGenerics> |
Parameters
| Parameter | Type |
|---|---|
input | string |
Returns
T
Call Signature
getInput<K, C>(input): C;
Type Parameters
| Type Parameter |
|---|
K extends string | number | symbol |
C extends SimplifiedFormInputType<T[K]> |
Parameters
| Parameter | Type |
|---|---|
input | K |
Returns
C
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
Overrides
setValue()
setValue(value): void;
Parameters
| Parameter | Type |
|---|---|
value | 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