I need to create a mask for this text field, it is a document, which has 11 digits, and is written as follows: ###.###.###-##.
I also want to limit the quantity and leave only periods and hyphens for typing.
The quantity entered is 11, but with the mask it becomes 14, I don't know if it is possible to block this.
Can anyone help me with this?
{
"operation": "insert",
"name": "Input_CPF",
"values": {
"type": "crt.Input",
"multiline": false,
"label": "$Resources.Strings.PDS_SCCPF_luo5kno",
"labelPosition": "auto",
"control": "$PDS_SCCPF_luo5kno"
},
"parentName": "FlexContainer_6gej1t9",
"propertyName": "items",
"index": 1
}