This commit is contained in:
2019-03-22 21:42:22 +00:00
parent e8e7a15f82
commit 64fe3fbbbf
2 changed files with 7 additions and 4 deletions

View File

@@ -18,6 +18,12 @@ RETEST all validation now that the rules have been updated to the new format
Also, is there anything pulled into the validate code directly that is already available off the "v" variable?
- localization etc
GZ VALIDATE
- Add rule isNumeric
- Right now "count" is using the required rule which works but you can type anything in there including letters and shit
DATETIME
- Validation

View File

@@ -85,13 +85,10 @@ export default {
}
var value = getControlValue(ctrl);
if (!isEmpty(value)) {
if (isEmpty(value)) {
return false;
}
if (_.isEmpty(value)) {
return false;
}
if (value.length > max) {
//get the localized rule text