Using .datepicker() instead of data-role

General issues related to the use of Metro 4
Post Reply
Posts: 2
Joined: Wed Jul 18, 2018 10:36 am
Status: Offline

Using .datepicker() instead of data-role

Post by shakirmole » Wed Jul 18, 2018 10:44 am

I've been using Metro since 2.0 and noticed that this documentation does not include applying the Metro components that have been generated dynamically through jquery.
For example, if I clone a row that had a datepicker or select, it breaks the components. I have to apply the component after cloning the row and it works correctly.
From 3.0, I realised that putting .datepicker() should make it work fine however this is not written in the 4.0 docs. If possible, add the following for the others users to also benefit.

Thank you.

Posts: 1
Joined: Sat Jul 21, 2018 2:04 am
Status: Offline

Post by yutesla » Sat Jul 21, 2018 2:07 am

Ive this issue too when i clone table row

Post Reply