Skip to content

Commit

Permalink
Fix patterns field check when field empty and not required
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruud68 committed May 23, 2021
1 parent 66110aa commit 7c0fd21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/media_source/system/js/fields/validate.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ class JFormValidator {
}

this.handleResponse(true, element);
return false;
return true;
}

if (handler === '') {
Expand Down

0 comments on commit 7c0fd21

Please sign in to comment.