Skip to content

Commit 3b1a55e

Browse files
committed
feat(InputMask): Add some more Demos #33
1 parent b830b31 commit 3b1a55e

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/pages/demo/InputMask.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const schema
99
validation: 'required',
1010
validationVisibility: 'live',
1111
mask: '99-999999',
12-
placeholder: '99-999999',
12+
placeholder: '##-######',
1313
},
1414
{
1515
$formkit: 'primeInputMask',
@@ -18,6 +18,15 @@ const schema
1818
mask: '(999) 999-9999',
1919
unmask: true,
2020
},
21+
{
22+
$formkit: 'primeInputMask',
23+
name: 'phone',
24+
label: 'Phone',
25+
mask: '+1 (999) 999-9999',
26+
placeholder: '+1 (###) ###-####',
27+
validation: 'required',
28+
validationVisibility: 'live',
29+
},
2130
]
2231
2332
const data = { }

0 commit comments

Comments
 (0)