This commit is contained in:
@@ -149,13 +149,11 @@ export default {
|
||||
|
||||
let ctrl = getControl(vm, ref);
|
||||
if (typeof ctrl == "undefined") {
|
||||
// console.log("gzform:required rule - bailing due to undefined", ref);
|
||||
return true;
|
||||
}
|
||||
|
||||
let value = getControlValue(ctrl);
|
||||
if (!isEmpty(value)) {
|
||||
// console.log("gzform:required rule - PASSED!", ref);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user