Skip to main content

DateInput

Extends

Constructors

Constructor

new DateInput(options): DateInput;

Parameters

ParameterType
optionsDateInputOptions

Returns

DateInput

Overrides

ControlInput<
{
OPTIONS: DateInputOptions;
} & ControlInputGenerics<Date>
>.constructor

Properties

PropertyModifierTypeInherited from
controlpublicAbstractValueControl<Date>ControlInput.control
optionspublicDateInputOptions & FormInputOptions<any>ControlInput.options
reactionDisposerpublicIReactionDisposer-
valuepublicDateControlInput.value

Accessors

error

Get Signature

get error(): string;
Returns

string

Inherited from

ControlInput.error

label

Get Signature

get label(): string;
Returns

string

Inherited from

ControlInput.label

name

Get Signature

get name(): string;
Returns

string

Inherited from

ControlInput.name

placeholder

Get Signature

get placeholder(): string;
Returns

string

Inherited from

ControlInput.placeholder

valid

Get Signature

get valid(): boolean;
Returns

boolean

Inherited from

ControlInput.valid

visible

Get Signature

get visible(): boolean;
Returns

boolean

Inherited from

ControlInput.visible

Methods

dispose()

dispose(): void;

Returns

void

Overrides

ControlInput.dispose

isValid()

isValid(): boolean;

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

Returns

boolean

Inherited from

ControlInput.isValid

remove()

remove(): void;

Returns

void

Inherited from

ControlInput.remove

renderControl()

renderControl(options): Element;

Parameters

ParameterType
optionsFormInputRenderOptions

Returns

Element

Inherited from

ControlInput.renderControl

renderInputWidget()

renderInputWidget(options): Element;

Parameters

ParameterType
optionsFormInputRenderOptions

Returns

Element

Inherited from

ControlInput.renderInputWidget

setValue()

setValue(value): void;

Parameters

ParameterType
valueDate

Returns

void

Inherited from

ControlInput.setValue

update()

update(options): void;

Parameters

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

Returns

void

Inherited from

ControlInput.update

validate()

validate(): void;

Returns

void

Inherited from

ControlInput.validate