Completed
Last Updated: 28 Dec 2021 12:02 by ADMIN
DKD-dev
Created on: 01 Dec 2021 13:56
Category: DateTimePicker
Type: Bug Report
1
The `steps` property of DateTimePicker is not working

Describe the bug
The steps property is not used/read when set on the DateTimePicker component, even though it says it can on the docs.

To Reproduce

  1. Open this StackBlitz link
  2. Open the popup of the TimePicker. The steps are applied.
  3. Open the popup of the DateTimePicker and select a random date
  4. The TimePicker inside the DateTimePicker doesn't apply the definition of the steps property.

Expected behavior
The steps of the TimePicker, inside the DateTimePicker should be the same as those in the TimePicker component.
Screenshots
image

2 comments
ADMIN
Plamen
Posted on: 28 Dec 2021 12:00

Hello,

Thank you for sharing the workaround.

We are also glad to share that we have bixed the issue in version 2.7.0 - https://stackblitz.com/edit/umrg7s-icxpvw?file=src/main.vue

Please excuse us for this inconvenience once again.

Regards,
Plamen
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

DKD-dev
Posted on: 28 Dec 2021 11:07
To get around this issue I combined the DatePicker and TimePicker into one component. A bit overkill for this issue but I really needed the `steps` to work. Have included the vue component, which does use dayjs for the date manipulation.
Attached Files: