Can't get Min Date on datepicker to work dynamycally

I inserted a datepicker field in a modal and it works as intended.

When i set dynamic attribute Min Date = Datetime element. The calendar pops up and vanishes instantly. I have enough time to see that it does cross out past date but no chance to select a date it vanishes too fast.

I ensured that moment.js is before datepicker.

Tested on chrome and edge

/J

Community Page
Last updated: