angular-validation-schema
angular-validation-schema copied to clipboard
'validate-on': 'submit'
'validate-on': 'submit'
any option for this? just submit?
thx ^_^
Glad hearing from you @donnygunawan93 .
Nudge @thetutlage
@donnygunawan93 I believe 'validate-on': 'submit'
is already there ?
var Author = {
globals: {
'validations': 'required',
'validate-on': 'submit',
'messages':{
'required': {
'error':'We need it',
'success': 'All good'
}
}
},
firstname: {
},
url:{
'validations': 'required,url'
}
};
Ohhh i got you @donnygunawan93 , it supports all methods listed here https://github.com/huei90/angular-validation/blob/master/API.md#select-the-validation-method-watch-blur-submit-submit-only-default-as-watch-
:+1:
oh yeah, thx ^_^