openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

TimePicker minute steps doesn't adjust current time on open

Open alex-ecenta opened this issue 9 years ago • 2 comments

  1. Set minuteStep="5"
  2. Open TimePicker at 00:04

Expected result: see 00:05 selected
Actual result: 00:04 selected

alex-ecenta avatar Jul 05 '17 08:07 alex-ecenta

Hello @alex-ecenta,

Thank you for sharing this finding. I've created a internal incident 1780266954. You can check its status on GitHub.

Regards, Daniel Nanovski

Nanovsky avatar Jul 06 '17 12:07 Nanovsky

Hi @alex-ecenta,

In the spec there is not such a requirement to have rounded minutes/seconds when minuesStep/secondsStep is set but to have selected the value from the value property (if existing) or the current time, surrounded by multiples of the defined step. Otherwise it may cause some problems when changing existing values.

Therefore I'm closing the issue.

Thanks and Kind Regards, Diana

DMihaylova avatar Aug 16 '17 13:08 DMihaylova