Wrong/confusing focus the "to" input field
comment in example
#1161
Unanswered
jnachtigall
asked this question in
Support
Replies: 1 comment
-
That comment is indeed confusing. but what happens is:
Check the DayPickerProps on the 'from' DayPickerInput. It states: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am new to react-day-picker, sorry, if this is the wrong place to report. Could not find any other place.
On http://react-day-picker.js.org/examples/input-from-to there is:
The
and focus the "to" input field
comment imho makes no sense here. There's no focus being set here.The next function does something like setting the
from
's month (but still not focus):This confused me. (And I could not find the source for it to try to improve.)
Beta Was this translation helpful? Give feedback.
All reactions