From c0e51fc9c92a1476016750db4bad046e1ae39abe Mon Sep 17 00:00:00 2001 From: "EVOFORGE\\dimay" Date: Tue, 21 Nov 2023 13:02:27 -0500 Subject: [PATCH] #2484: allow quiz questions answer to be "null" word; added validation for every modal to ensure that "null" value is not allowed as items' names and ids --- dashboard/src/validators/NotNullValidator.js | 1 - 1 file changed, 1 deletion(-) diff --git a/dashboard/src/validators/NotNullValidator.js b/dashboard/src/validators/NotNullValidator.js index 2d1537de79..aa00b535a4 100644 --- a/dashboard/src/validators/NotNullValidator.js +++ b/dashboard/src/validators/NotNullValidator.js @@ -18,7 +18,6 @@ import { extend } from 'vee-validate'; const validator = { message: (field) => `Null is not allowed for ${field}`, validate(value) { - console.log(value); return !value || value.toLowerCase() !== 'null'; }, };