On the dynamic form page where several datePicker widgets are created
<?= $form->field($modelAddress, "[{$i}]date")- >widget(\yii\jui\DatePicker::className()) ?> The first widget works, the others do not, you can not select a date.
In the source of the page it turns out this
<input type="text" id="ordertemplate-0-date" name="OrderTemplate[0] [date]" class="hasDatepicker" aria-invalid="true"> ......
<input type="text" id="ordertemplate-1-date" name="OrderTemplate[1] [date]" aria-invalid="true"> for some reason, the class = "hasDatepicker" disappears, I tried to prescribe it explicitly, it still does not help, and is this the cause of the problem?
Maybe someone knows how to solve this crap, tried and cat widget widget, the same thing, the first one doesn’t work the rest (