Cristian Trifan
Cristian Trifan
@RCMax Are you after some like this? http://jsfiddle.net/40s6w103/
I thought you're familiar with [anonymous rules](https://github.com/Knockout-Contrib/Knockout-Validation/wiki/Custom-Validation-Rules#anonymous-or-single-use-custom-rules) so I've defined it like that. Here's the updated example http://jsfiddle.net/40s6w103/2/ Will that help in your case? Thanks
Thanks @demitriusbelai
Merged into v2.1.0 branch. The PR will close itself when merged into master. Thanks for your contribution.
@krnlde The `required` rule converts the input value to a string and checks its length. For a boolean value the resulting string will always have a length greater than 0,...
@krnlde Adding `false` to the existing checks will fail validation if the field is required - which is the desired behaviour. http://jsfiddle.net/v6d5y3or/2/
Please check your PR. It seems the tests are falling.
Looks good. Thanks.
Although having the library expose such functionality might not be a bad idea I think you actually need an extender instead. I might be wrong but here's how you might...
@jd78 There are some issues related to that and I'll get with an update on this once I find more time. Until then, a quick fix is to use the...