Widgets not working for dynamically added formset forms

2019-10-01 Thread Dmitri S.
I have a formset with fields with Select2 widgets and a calendar (date-picker) from django app. And I use dynamic addition of formset forms. When I render a template for the first time, all widgets work fine. *But when I add new formset form, widgets of this new form don't work.* I think, th

Re: Widgets not working for dynamically added formset forms

2019-10-04 Thread Dmitri S.
Unchecked runtime.lastError: The message port closed before a response was received. in Opera after page loading for the first time and no errors in Chrome. When I add new form no other errors appear. пятница, 4 октября 2019 г., 10:41:58 UTC+3 пользователь lemme smash написал: > > and you have n

Re: Widgets not working for dynamically added formset forms

2019-10-04 Thread Dmitri S.
and after clicking on widgets also no errors пятница, 4 октября 2019 г., 17:58:22 UTC+3 пользователь Dmitri S. написал: > > Unchecked runtime.lastError: The message port closed before a response was > received. in Opera after page loading for the first time and no errors in > Chrome

Re: Widgets not working for dynamically added formset forms

2019-10-06 Thread Dmitri S.
I meant, when I click on Select2 widget (combobox), list of items does not show up. And when I click on calendar icon, calendar does not show up. "It's better to use pure js" - what to you mean exactly? воскресенье, 6 октября 2019 г., 17:42:49 UTC+3 пользователь lemme smash написал: > > okay, b

Re: Widgets not working for dynamically added formset forms

2019-10-06 Thread Dmitri S.
I meant, when I click on Select2 widget (combobox with autocomplete), list of items does not show up. And when I click on calendar icon, calendar does not show up. "It's better to use pure js" - what do you mean exactly? to make new forms duplicating existing rather than using django empty_form

Re: Widgets not working for dynamically added formset forms

2019-10-08 Thread Dmitri S.
At first I hoped not to dive in JS and mostly use django things, but ok, now I see it's not that simple. Thanks for help. вторник, 8 октября 2019 г., 16:49:08 UTC+3 пользователь lemme smash написал: > > okay, i think i got it. you probably need to provide some snippet to > reload list of choice