Closed huw489 closed 8 years ago
I was chatting on gitter with @MaximBalaganskiy about an unrelated issue, but the solution might be the same. Not a pretty one but a solution. That was to include validatjs as part of your project. If you look here https://gitter.im/aurelia/validation?at=576a1bdb2554bbe049ba5d36 and scroll up you will see a discussion about another issue, but I see the solution might be the same. This is also being discussed over here, https://github.com/aurelia/validation/issues/260 although this is the place for it, because this is an aurelia-validatejs issue not a aurelia-validation issue. You would need to do what is mentioned in the gitter discussion or wait for some method in aurelia-validatejs to setup these methods.
+1
docs show how to create custom rules now
Hi. I notice these are commented out in the samples.
Looking at the documentation at http://validatejs.org/ and I found some example code:
What i'm struggling with is where do I add this type of code in Aurelia? thanks in advance.