keepStatic property
bool?
keepStatic
Use in combination with the alternator syntax Try to keep the mask static while typing. Decisions to alter the mask will be postponed if possible.
ex. $(selector).inputmask({ mask: "+55-99-9999-9999", "+55-99-99999-9999",
, keepStatic: true });
typing 1212345123 => should result in +55-12-1234-5123 type extra 4 => switch to +55-12-12345-1234
When the option is not set, it will default to false
, except for multiple masks it will default to true
!
Implementation
_i2.bool? get keepStatic => _i4.getProperty(
this,
'keepStatic',
);
Implementation
set keepStatic(_i2.bool? value) {
_i4.setProperty(
this,
'keepStatic',
value ?? _i6.undefined,
);
}