v8 Range selection with two inputs #1427
-
I am upgrading from v7 to v8 and I need a range selection with an input component for both that start and end date. Is there a way to do this with the : |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
@DylanAllen the Checkout this example for a range select with two input fields: |
Beta Was this translation helpful? Give feedback.
-
Dylan, were you able to get a date range picker working with two inputs? I'm also working on the same concept. My v7 implementation also looks very similar to yours. |
Beta Was this translation helpful? Give feedback.
@DylanAllen the
useInput
hook is just for a single input field. If you need something more elaborated, you need to implement your own.Checkout this example for a range select with two input fields:
https://react-day-picker.js.org/guides/input-fields#example-range-selection