Open uladzimir-miadzinski opened 6 years ago
Hi!
I have a question Your extension generates div with class="intl-tel-input allow-dropdown", I want to add one more classes to this div, how can I do it?
This code is from my form
<?= $form->field($model, 'phone')->widget(PhoneInput::class, [ 'jsOptions' => [ 'maxlength' => true, 'preferredCountries' => ['ru', 'by', 'ua'], ] ])->label('<i class="fas fa-phone mr-2 text-success"></i>Телефон', [ 'class' => 'center-block' ]) ?>
Where can I add any option like 'containerOptions' => [] or else to add classes to root container of widget? Thanks for answer.
Hi!
I have a question Your extension generates div with class="intl-tel-input allow-dropdown", I want to add one more classes to this div, how can I do it?
This code is from my form
Where can I add any option like 'containerOptions' => [] or else to add classes to root container of widget? Thanks for answer.