You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue with datetimepicker in datetime mode and minuteInterval
Hi everyone,
I’ve encountered an issue with the datetimepicker when it’s set in datetime mode and a minuteInterval is used (for example, 15 minutes).
Problem Description
If I set the minuteInterval to 15 and open the picker without making any manual changes to the time, the confirmed value does not respect the interval. For example:
• Current time: 10:34
• Configured interval: 10:00, 10:15, 10:30, 10:45, etc.
• Picker’s position: 10:30
When I open the picker and directly confirm without switching the time, the value that gets set is “10:34” instead of “10:30”. I have to manually reselect the correct time for the picker to apply the interval properly.
Steps to Reproduce
1. Set up a datetimepicker in datetime mode.
2. Configure a minuteInterval (e.g., 15 minutes).
3. Open the picker and confirm without changing the time.
Expected Behavior
I would expect that when the picker is opened and “Confirm” is pressed without modifying the time, the returned value should respect the configured interval (e.g., “10:30” instead of “10:34”).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Issue with datetimepicker in datetime mode and minuteInterval
Hi everyone,
I’ve encountered an issue with the datetimepicker when it’s set in datetime mode and a minuteInterval is used (for example, 15 minutes).
Problem Description
If I set the minuteInterval to 15 and open the picker without making any manual changes to the time, the confirmed value does not respect the interval. For example:
When I open the picker and directly confirm without switching the time, the value that gets set is “10:34” instead of “10:30”. I have to manually reselect the correct time for the picker to apply the interval properly.
Steps to Reproduce
Expected Behavior
I would expect that when the picker is opened and “Confirm” is pressed without modifying the time, the returned value should respect the configured interval (e.g., “10:30” instead of “10:34”).
Beta Was this translation helpful? Give feedback.
All reactions