Skip to content

Commit b31c815

Browse files
author
Tom Hanoldt
committed
add force-validate exclude for ignored elements
1 parent e8095e2 commit b31c815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/input.validator.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class @InputValidator
1111

1212
selectors:
1313
elements: 'input, textarea, select'
14-
ignore: ':hidden, [readonly]'
14+
ignore: ':hidden:not(.force-validate), [readonly]:not(.force-validate)'
1515

1616
classes:
1717
invalid: 'invalid error'

0 commit comments

Comments
 (0)