Using RRF with react-dates DateRangePicker
AntiFish03 opened this issue · 2 comments
AntiFish03 commented
How can I get 2 values from the model for use with a range picker?
Say my search model has
{
search: {
startDate: '2018-07-04',
endDate: '2018-07-05',
...
}
}
And I need to send these both to the custom component. In this case the custom component is DateRangePicker
and it requires
<DateRangePicker
startDate={this.props.startDate}
endDate={this.props.endDate}
{...coupleOfOtherProps}
/>
In all of the examples of RRF I can find show one control, one model value. Is it possible to use RRF with react-dates DateRangePicker?
gianfelipe93 commented
@AntiFish03 how did you solve this issue ?
AntiFish03 commented
@gianfelipe93, Sorry your message got lost in the clutter. I'm not using RRF. I went with Formik.