Yii2 MaskedInput with alias 'url' limits input to 60 characters -
i using following code in yii2:
<?php $form = activeform::begin(); ?> <?= $form->field($model, 'link')->widget(maskedinput::classname(), [ 'clientoptions' => [ 'alias' => 'url', ], ]) ?> <?php activeform::end(); ?>
it seems, input field limited 60 characters. how remove limitations?
see url example on: http://demos.krajee.com/masked-input
the limitation in jquery.inputmask. see https://github.com/robinherbots/jquery.inputmask/issues/863. limitation disappear if issue solved , new jquery.inputmask.js included in yii2 bower package.
Comments
Post a Comment