RobinHerbots / Inputmask

Input Mask plugin
https://robinherbots.github.io/Inputmask/
MIT License
6.38k stars 2.17k forks source link

Chrome Autofill Issues With Only Some OSes #1096

Open rovermicrover opened 8 years ago

rovermicrover commented 8 years ago

Here is a real world example we have run into with autofill in Chrome.

We have reproduced this problem on a mobile Android > 5, and the user reports this problem on some desktop OS reporting X11 window rendering engine. The user was un able to identify their desktop OS, we can only assume Ubuntu, Peppermint, Debian, or some novel Linux derived OS.

Cannot reproduce on Chrome on Mac OSX, or Windows 7.

Similar, but differnt issues happen in Mobile Firefox.

What happens is the user selects first field, first name, selects the entry to auto fill with. All mask inputs are filled but are not formatted and thus fail our validation, which is html5 validation plus inputmask's isComplete function.

When the user then selects the masked input to correct the "failed" validation, the input is blanked out.

If they select auto complete value for that field the same behavior happens, but when they un focus the field is once again blanked out.

If the field is manually filled out it is formatted correctly and passes validation.

rovermicrover commented 8 years ago

We have tested this also against the latest release version, and the master branch version from 2 days ago and today.

RobinHerbots commented 8 years ago

@rovermicrover ,

If possible can you provide the version of Chrome or Chromium used?

Mobile has still issues.

rovermicrover commented 8 years ago

Chrome Mobile 46.0.2490.76 (Linux, Android 5.0) Chrome 46.0.2490.76 (X11, Linux x86_64), JS enabled