angular-eonasdan-datetimepicker
angular-eonasdan-datetimepicker copied to clipboard
ngMessages not working with datetimepicker
I am having some trouble getting ngMessages working. I am using a custom directive I found on
StackOverflow called setTouched, but it is only halfway working. If I visit a field, then leave it all is ok, but if I just hit submit then the error message is not displayed on the fields, they are just highlighted. Here is a plunker:
Validation with ngMessages
If anyone has time to look at it, or make an example it would be great!
Cheers, jet
Do you mind describing what you are actually trying to achieve? Maybe there is other (simpler) way to do it.