Unplanned
Last Updated: 18 Jan 2023 12:52 by ADMIN
Vafadar
Created on: 26 Dec 2022 14:48
Category: UI for PHP
Type: Bug Report
1
When more than one DatePicker widget used on the page it produces dublicate dom id error.

Hi,

Use two or more DatePicker widget in the same page. In some moment it produces next error:

next IDs have duplicates in DOM: 2 items #nav-up

Same may apply for other Date related widgets.

3 comments
ADMIN
Nikolay
Posted on: 18 Jan 2023 12:52

Hello Alex,

Thank you for clarifying the situation.

I confirm this is a bug and I have logged it for fixing. Its progress you can track at the below link:

As a token of gratitude for reporting this, I have added some Telerik points to your account.

Regards,
Nikolay
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

alex
Posted on: 11 Jan 2023 16:40

Open demo page https://demos.telerik.com/php-ui/datepicker/index

select something in the first picker, then something in the second.

then open console and enter $('[id="nav-up"]')

result: collection has 2 elements, which is not compatible with HTML standards, which states that IDs should be unique per page.

ADMIN
Nikolay
Posted on: 02 Jan 2023 11:50

Hello Vafadar,

Could you please share the DatePicker declarations that are on the same page?

I am not able to replicate this and this is also not present on the official demo page:

Regards,
Nikolay
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.