checkit
checkit copied to clipboard
Custom messages
I spent about an hour going through the source looking for one of these many ways to set custom messages (:P), but only noticed that you removed setLabels. I'm assuming there's a way to override default messages within the rules object when you instantiate a validator, but wasn't able to find where this is happening or what key it's looking for.
Haha, this is why I haven't cut a 0.2.0 yet... can you give me an example of what you're looking to do and I'll see if it's possible or if I need to add something for it?
I sort of liked having setLabels on a per-validator basis, I thought that was a nice solution?
This is fixed, see:
https://github.com/tgriesser/checkit/blob/3625964e0154f41630bb44b6a9eae417a575bae1/test/spec.js#L299
@rhys-vdw this is most likely not longer a valid issue. Would recommend closing.