This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user