Input Mask
The Input Mask input-mask
field is input text field with placeholders for formatted strings.
Example
{
"component": "input-mask",
"label": "My formatted input",
"name": "my_text",
"hint": "Enter your phone number",
"mask": "+(${d}${d}${d}) - ${d}${d}${d}${d}${d}${d}",
"showMask": true
}
Loading...
Reference
Property | Type | Description |
---|---|---|
component | string | = "input-mask" |
name | string | The name of the field and the key of the JSON |
label | string | i18n | Label of the field |
hint | string | i18n | Help text for the field (generally shown below the input box) |
placeholder | string | i18n | Placeholder text, visibile when the field is empty |
disabled | boolean | Disables and greys out the field |
readOnly | boolean | Put the field in read only mode |
hidden | boolean | Hides the field from the form |
Pick up a framework to show specific properties |