TimeField - increment/decrement interval #5716
garrett-thompson
started this conversation in
Ideas
Replies: 1 comment
-
There's been a previous discussion with an open ticket about this #4410 |
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
-
Thoughts on making the
increment
anddecrement
methods ofuseTimeFieldState
take an optionalinterval
param that would override the1
value here:react-spectrum/packages/@react-stately/datepicker/src/useDateFieldState.ts
Lines 353 to 358 in ee51290
For instance, I want to increment the minute field by 15 or 30 minutes at a time.
Beta Was this translation helpful? Give feedback.
All reactions