forked from quasarframework/quasar
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuse-mask.json
More file actions
31 lines (28 loc) · 840 Bytes
/
use-mask.json
File metadata and controls
31 lines (28 loc) · 840 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"props": {
"mask": {
"type": "String",
"desc": "Custom mask or one of the predefined mask names",
"examples": [
"###-##", "date", "datetime", "time", "fulltime", "phone", "card"
],
"category": "behavior"
},
"fill-mask": {
"type": [ "Boolean", "String" ],
"desc": "Fills string with specified characters (or underscore if value is not string) to fill mask's length",
"examples": [ "true", "'0'", "'_'" ],
"category": "behavior"
},
"reverse-fill-mask": {
"type": "Boolean",
"desc": "Fills string from the right side of the mask",
"category": "behavior"
},
"unmasked-value": {
"type": "Boolean",
"desc": "Model will be unmasked (won't contain tokens/separation characters)",
"category": "behavior"
}
}
}