$definitions public property
Custom mask definitions to use. Should be configured as maskSymbol => settings
, where
-
maskSymbol
is a string, containing a character to identify your mask definition and -
settings
is an array, consisting of the following entries:-
validator
: string, a JS regular expression or a JS function. -
cardinality
: int, specifies how many characters are represented and validated for the definition. -
prevalidator
: array, validate the characters before the definition cardinality is reached. -
definitionSymbol
: string, allows shifting values from other definitions, with thisdefinitionSymbol
.
-
public array $definitions = null
Please login to continue.