I am using the following code in Yii2:
<?php $form = ActiveForm::begin(); ?>
<?= $form->field($model, 'link')->widget(MaskedInput::classname(), [
'clientOptions' => [
'alias' => 'url',
],
]) ?>
<?php ActiveForm::end(); ?>
It seems, that the input field is limited to 60 characters. How to remove this limitations?
See the URL example on: http://demos.krajee.com/masked-input
The limitation is in jquery.inputmask. See https://github.com/RobinHerbots/jquery.inputmask/issues/863. This limitation will disappear if the issue is solved and the new jquery.inputmask.js is included in Yii2 bower package.