My bad, options can be undefined

This commit is contained in:
GogoVega
2024-06-03 21:11:13 +02:00
parent da7c7ede02
commit bd2c020e84

View File

@@ -1580,7 +1580,7 @@
tooltip.delete();
}
}
if (options.returnErrorMessage === true) {
if (options?.returnErrorMessage === true) {
return valid;
}
// Must return a boolean for no 3.x validator