We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried lot of things to set id attribute for phone input HTML tag but none of them work
<?= $form->field($parent, 'primary_phone', ['options' => ['class' => 'col-md-4'], 'selectors' => ['input' => '#parent1-primary-phone']]) ->widget(PhoneInput::className(['id' => 'test']), [ 'jsOptions' => [ 'allowExtensions' => true, 'preferredCountries' => ['ca', 'lb'], 'nationalMode' => false ], 'defaultOptions' => [ 'class' => 'form-control1', 'id' => 'test' ] ]); ?>
Did I miss something ?
The text was updated successfully, but these errors were encountered:
@michaelnguyen547 try like this
$parent, 'primary_phone', ['options' => ['class' => 'col-md-4', 'id' => 'myID']
Sorry, something went wrong.
Borales
No branches or pull requests
I tried lot of things to set id attribute for phone input HTML tag but none of them work
Did I miss something ?
The text was updated successfully, but these errors were encountered: