I'm populating the page on load from php data. The datetimepicker class have been added to date field type input-text. This elementts are displayed in row similar to standard table but wrapped with div instead.
On each row an add button is available which create dynamic elements using jquery clone method (with events) and appended in div wrapper as last element set.
var div_item_clone = $(this).closest('.div-item-wrapper').clone(true, true);
$('.div-items-wrapper').append(div_item_clone );
Work just fine, except that when I click the cloned input-text associated to datetimepicker() the focus gets redirected to source input-text and the popup calendar, displayed in the source input-text rather than the selected input.
Dynamic binding solutions are mentioned here but did not resolve my issue.