casperin / nod

Plugin that gives you frontend validation for forms.
http://casperin.github.io/nod/
381 stars 137 forks source link

Delay for first focus in input can be different #104

Closed aromanet42 closed 8 years ago

aromanet42 commented 9 years ago

I was asked to not display the error message for an input if the user focuses an input without typing in it.

To respond to that request, I propose that the first time nod displays an error message, it takes longer to appear than usual.

casperin commented 9 years ago

Hi @aromanet42. First of all I'm sorry to be so slow to respond. I have to decline this pull request out of the principle that it saves state on the element itself (that means it's outside the control of nod.js). I don't mind the feature, but the state needs to be handled internally.