Hi there! I'm building a form and I need to implement a birthday so (I don't want to use something like date picker) :
<input type="number" name="day" maxlength="2" ng-minlength="2"> <select name="month"> ... Month list ... </select> <input type="number" name="year" maxlength="4" ng-minlength="4"> I need to apply a validations (example: validate a minimum year) and *maybe* in a future I want to use those same fields with other purpose for example 'Date passport'(apply other validations in inputs) or something like that. It's posible to generate only one directive for this? because in this moment I don't know if its posible or if is better use another approach such just make validations in controller on submit event. Thanks for advance! -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
