Closed betheymc closed 4 years ago
that's not something i thought about - i always felt like the container should be known upfront so updating the container does nothing. but fair point i am now looking into it
should be fixed, please have a look
have you had the chance to test this?
@stefangabos sorry I haven't got back with you yet, been super busy at work. I found a workaround, so haven't yet had a chance to test. I will plan to do that in the near future and let you know how it goes.
ok, thanks!
@stefangabos Just tested this, and it works! I think anyone updating the container should be sure to position the datepicker correctly so that it will actually visually go inside the container, but the datepicker html definitely shows up inside the container now on update. Thank you!
When I try to add a container to a datepicker instance on
.update()
, the datepicker is still not added into the container, but on the$('body')
element.Here's basically what I did: