Skip to content

Commit 072a6f8

Browse files
committed
chore(FormkitComponent): add validation for email field
1 parent d11f810 commit 072a6f8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

playground/app/components/FormkitComponent.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ const schema = reactive(
4343
label: 'Additional Mail',
4444
name: 'email',
4545
outerClass: 'col-6',
46+
validation: 'required|email',
4647
4748
},
4849
addGroupButtons('', 'col-6'),

0 commit comments

Comments
 (0)