bootstrap-datepicker icon indicating copy to clipboard operation
bootstrap-datepicker copied to clipboard

Duplicate datepicker is displayed when ui-datepicker is included in html which is dynamically added/removed and append to body is true

Open AshwiniAJadhav opened this issue 6 years ago • 1 comments

When html having ui-datepicker is compiled and appended dynamically and clicks on calendar icon, it displays multiple datepickers. This dynamically appended html is removed and appended again on each user click. It seems previously created instances are getting attached when re-append the html. Here append to body flag is true and i am using

angular-ui-bootstrap 2.5.0 jquery 3.1.0 angular 1.5.x chromium version 71.0.3578.98. What would be the cause of this issue?

AshwiniAJadhav avatar Jul 01 '20 06:07 AshwiniAJadhav

Please note it is uib-datepicker and not ui-datepicker. It is typo.

AshwiniAJadhav avatar Jul 01 '20 13:07 AshwiniAJadhav