aurelia / validatejs

Enables expressive validation using decorators and/or a fluent API.
MIT License
22 stars 23 forks source link

Problem with input validation attribute binding (minlength, maxlength and pattern) #115

Closed jdanyow closed 8 years ago

jdanyow commented 8 years ago

@tolemac commented on Sun Aug 07 2016

I'm submitting a bug report

Please tell us about your environment:

Current behavior: pattern attribute binding not work fine. If value is undefined aurelia sets pattern="undefined" and input is always invalid. minlength and maxlength attribute binding sets 0 if binding source is null or undefiend.

Expected/desired behavior: You can see a demo here: http://plnkr.co/edit/pLIM83?p=preview

jdanyow commented 8 years ago

closing- validatejs was dropped in last release