IntegerRangeWidgetThis is a React component
SourceSee InputNumber for props available
As with all range widgets, ref should be shaped as { lowerRef: Ref(), upperRef: Ref() }
You may pass in props to be used for the individual input as lowerInput / upperInput
Parameter | Type | Description | |
---|---|---|---|
props.className | string | className for the wrapper class. | |
* | props.input | the input coming from form; | |
* | props.lowerInput | Any props you want to pass to the first ("lower") Input of a range. Props available depends on type of range widget being used. | |
props.meta | Record | Any extra details such as field errors, touched status etc. The values here depend on the form library in use. If using @prestojs/final-form see FieldRenderProps for what this will be. | |
* | props.separator | string | Separator between two Input elements; defaults to |
* | props.upperInput | Any props you want to pass to the second ("upper") Input of a range. Props available depends on type of range widget being used. |