FloatField
Sourceimport { FloatField } from "@prestojs/viewmodel";
Hierarchy
- NumberField<number,string|number>
- FloatField
Constructor
Arguments:
Argument | Type | Description | |
---|---|---|---|
values An object with the properties below | |||
values.asyncChoices | AsyncChoicesInterface | ||
values.blank | boolean | ||
values.blankAsNull | boolean | ||
values.choices | |[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
Arguments:
Argument | Type | Description | |
---|---|---|---|
* | viewModel | ViewModelConstructor |
Returns:void