pickadate.js icon indicating copy to clipboard operation
pickadate.js copied to clipboard

how attach pickdate to a dynamically generated fields

Open xhava opened this issue 7 years ago • 1 comments

Hi, someone knows how to attach this plugin to all dynamically generated fields. i have a form with 1 default field, but there is a button to add another field. this field is generated dinamycally, for the first field it works, but for the next fields datepicker does not work.

regards

xhava avatar Jan 10 '19 19:01 xhava

See https://davidwalsh.name/detect-node-insertion and https://github.com/DanielRuf/noopener/blob/master/src/index.js for a possible solution.

DanielRuf avatar Jan 10 '19 21:01 DanielRuf