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