Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

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

Open
mbraidy opened this issue Aug 23, 2018 · 0 comments
Open

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

mbraidy opened this issue Aug 23, 2018 · 0 comments

Comments

@mbraidy
Copy link

mbraidy commented Aug 23, 2018

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant