Console.log eliminado
This commit is contained in:
parent
64813b3fd3
commit
0f4ac0edbb
|
@ -99,7 +99,6 @@ export function validate(value, conf) {
|
|||
* @param {Object} conf The validation configuration
|
||||
*/
|
||||
export function checkNull(value, conf) {
|
||||
console.log(conf);
|
||||
if (value === '' && !conf.allowBlank) {
|
||||
throw new Error(`Value can't be blank`);
|
||||
} else if (value == null && !conf.allowNull)
|
||||
|
|
Loading…
Reference in New Issue