Skip to content

Commit 0289c76

Browse files
authored
[5.3] Fix type for custom form validators (#45650)
1 parent f62a9c5 commit 0289c76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/media_source/system/js/fields/validate.es6.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ class JFormValidator {
256256

257257
// Run custom form validators if present
258258
if (Object.keys(this.customValidators).length) {
259-
Object.keys(this.customValidators).foreach((key) => {
259+
Object.keys(this.customValidators).forEach((key) => {
260260
if (this.customValidators[key].exec() !== true) {
261261
valid = false;
262262
}

0 commit comments

Comments
 (0)