yii-masked-input icon indicating copy to clipboard operation
yii-masked-input copied to clipboard

Getting an string into a masked input does not follow the mask

Open mbraidy opened this issue 7 years ago • 0 comments

What steps will reproduce the problem?

Updating a uri field

What's expected?

To get the string formatted according to the preset mask

This string

http://www.lj.se/department/english/101e.php?id=1

was entered using a pre-defined mask

(http|https?|ftp)://a*{*}.a*{*}.a*{*}[(/*{+}){0,10}][*{+}.*{+}?*{+}=*{+}(&*{+}=*{+}){0,20}]

It is formatted properly as wished, and is saved in MySQL properly

What do you get instead?

When I try to update

http://www.lj.se/department/english/101ephpid1

..... and the masked input looks like:

http://www.lj.se/department/english/101ephpid1_.?=_

Additional info

Q A
Yii version 2.0.15.1
Yii Masked Input version ???
Yii JQuery version 3.2.1
JQuery Masked Input version 3.3.11
JQuery version 3.2.1
PHP version 7.2
Operating system Ubuntu 18.04 - 4.15.0-32

mbraidy avatar Aug 23 '18 09:08 mbraidy