Inputmask: jQuery validation seems to treat fields with input mask like not empty

Created on 15 Sep 2015  路  2Comments  路  Source: RobinHerbots/Inputmask

Using this library:
https://github.com/1000hz/bootstrap-validator

Required field that uses "native" jQuery validation returns as not empty, and therefore valid, even that there is only mask in it.
Intereting is that if value is erased from input, then it validates as empty

Problem doenst appear with other mask plugins.

More can be found here: http://stackoverflow.com/questions/32581404/jquery-validation-with-input-mask

Main

Most helpful comment

@SilentDariusz ,

Did you try with setting the autoUnmask option to true. (can also be set global ~ Inputmask.extendDefaults)

All 2 comments

@SilentDariusz ,

Did you try with setting the autoUnmask option to true. (can also be set global ~ Inputmask.extendDefaults)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

poornib55 picture poornib55  路  6Comments

TiGR picture TiGR  路  3Comments

richard-flosi picture richard-flosi  路  3Comments

RobinHerbots picture RobinHerbots  路  4Comments

alexey-m-ukolov picture alexey-m-ukolov  路  4Comments