compose-form-up
Advanced tools
Comparing version 1.3.2 to 1.3.3
// Dependencies | ||
var toolbox = require( 'compose-toolbox' ), | ||
Event = toolbox.event, | ||
matches = toolbox.matches, | ||
getClosest = toolbox.getClosest, | ||
@@ -47,3 +46,3 @@ wordCount = toolbox.wordCount, | ||
// Scoped variables | ||
var inputs = form.querySelectorAll( ':not([disabled]) [required]' ), | ||
var inputs = form.querySelectorAll( '[required]' ), | ||
invalidInput; | ||
@@ -54,3 +53,3 @@ | ||
// if invalid | ||
if ( !checkInput( input ) ) { | ||
if ( !getClosest( input, '[disabled]' ) && !checkInput( input ) ) { | ||
invalidInput = input | ||
@@ -57,0 +56,0 @@ return true |
{ | ||
"name": "compose-form-up", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "A lightweight HTML5 form validation utility", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23069
485