Knockout-Validation
Knockout-Validation copied to clipboard
A validation library for Knockout JS
``` javascript ko.validation.init(); var myValue = ko.observable().extend({ required: true, minLength: 3 }); console.log(myValue.isValid()); // false myValue.clearError(); console.log(myValue.isValid()); // true - I believe this is wrong ``` Use case: I have...
Could you configure NuGet package so it will be installed in standalone directory, than in main Scripts directory like nowdays?
Please refers to http://jsbin.com/mudeko/4/edit?html,js,output for a live demo Steps to recreate: - Click on Add Activity Type - Click on Save the form is invalid but the element is not...
ko.validation.makeBindingHandlerValidatable only takes a single argument, which does not work for widget extension libraries which provided an argument list as properties of an object. as 1 of hundreds of simple...
Hello I like ko and ko.validation plugin. Good work, guys. Thank you. I'm trying to use ko and validation in my project now. Problem which I faced is next: I...
The validation message must be improved to enable some features that were frequently asked: - [ ] Different position in DOM of the validation message / message template - [...
When setting up validation, you can assign an value for comparison directly: ``` javascript var myVal = ko.observable().extend({ minLength: 3, }); ``` Or you can assign an object if you...
There is an option to set registerExtenders to false when init is invoked to bypass registerExtenders, but the bootstrap has already executed kv.registerExtenders ( ~ line 914 ) ``` //now...
The result of async rule is still being applied even when the condition has changed to false. This causes Knockout Validation to mark the observable as invalid even when it...