DateTimeField
Sourceimport { DateTimeField } from "@prestojs/viewmodel";
Constructor
Params:
Parameter | Type | Description | |
---|---|---|---|
options An object with the properties below | |||
options.asyncChoices | AsyncChoicesInterface | ||
options.blank | boolean | ||
options.blankAsNull | boolean | ||
options.choices | Map|[Date, string][] | ||
options.defaultValue | null|Date| | ||
options.formatterProps | Record | ||
options.helpText | string | ||
options.label | string | ||
options.readOnly | boolean | ||
options.widgetProps | Record | ||
options.writeOnly | boolean |
Methods
Returns:Field
Params:
Parameter | Type | Description | |
---|---|---|---|
* | viewModel | ViewModelConstructor |
Returns:void