Input-mask field
Display type
- input-mask
Config
Name | Description | Notes |
---|---|---|
mask | Mask string. | Details here (opens in a new tab) |
maskChar | Character to cover unfilled parts of the mask. Details here (opens in a new tab) | Default character is "_" |
formatChars | Defines format characters with characters as a keys and corresponding RegExp strings as a values. | Details here (opens in a new tab) |
Basic example
Schema details
{}
fields]
:
[0}
:
{name
:
"aadhaar_header"
prop
:
NULL
meta}
:
{displayType
:
"header"
displayName
:
"Aadhaar Card"
1}
:
{name
:
"aadhaar_number"
meta}
:
{config}
:
{mask
:
"9999-9999-9999"
maskChar
:
""
placeholder
:
"e.g. 1681-1111-1234-1123"
displayType
:
"input-mask"
displayName
:
"Aadhaar Number"
validation}
:
{required
:
true
infoDetail
:
{…
}