DateRangeField
Sourceimport { DateRangeField } from "@prestojs/viewmodel";
Hierarchy
- RangeField<Date,string|Date>
- DateRangeField
Constructor
Arguments:
| Argument | Type | Description | |
|---|---|---|---|
props An object with the properties below | |||
| props.blank | boolean | ||
| props.blankAsNull | boolean | ||
| props.boundsFieldProps | |||
| props.defaultValue | null|ValueT| | ||
| props.formatterProps | Record | ||
| props.helpText | string | ||
| props.label | string | ||
| props.readOnly | boolean | ||
| props.widgetProps | Record | ||
| props.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