RangeField
Sourceimport { RangeField } from "@prestojs/viewmodel";
RangeField<T,ParseableValueT>
Hierarchy
Constructor
Arguments:
| Argument | Type | Description | |
|---|---|---|---|
| * | values An object with the properties below | ||
| values.blank | boolean | ||
| values.blankAsNull | boolean | ||
| * | values.boundsField | Field | |
| values.defaultValue | null|ValueT| | ||
| values.formatterProps | Record | ||
| values.helpText | string | ||
| values.label | string | ||
| values.readOnly | boolean | ||
| values.widgetProps | Record | ||
| values.writeOnly | boolean | ||
Methods
Returns:{[fieldName: string]: any }
Returns:{[fieldName: string]: any }
Returns:null|
| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| * | lower | T | |
| * | upper | T | |
Returns:null|
| An object with these properties: | |||
|---|---|---|---|
| Property | Type | Description | |
| * | lower | T | |
| * | upper | T | |
Returns:string