I really like how Eric Barnard's knockout validation lib integrates with observables, allows grouping, & offers custom validator pluggability (including on-the-fly validators). There are a couple of places where it could be more UX flexible/f...
I have a knockout custom binding handler for an input that I need to have validated by knockout-validation.  However nothing I've done has worked.  Validation is not fired.  I can get validation firing on a plain ko value binding on an input boun...
This seems to be a common approach to sanitizing/validating/formatting data with knockout when binding to an input field, it creates a reusable custom binding that uses a computed observable. It basically extends the default value binding to include...
I currently use Jquery Validation and Qtip together to deal with the actual validation and displaying of information to the screen using the nice tooltip style notifications upon validation errors using the errorPlacement component of the validation...
So I am using Knockout Validation to validate my viewmodel and a custom knockout datepicker bindingHandler to attach a jQuery-UI datepicker to dynamically added items in my observableArray.  It seems my bindingHandler is destroying or breaking the va...
I have made a custom validator much like the one that can be found here.  The intent of my validator is to be generic enough that it can be used in other places. This particular one validates the filetype extensions passed into it, and returns true i...
I am new to knockout, and trying to workout how to use validations. We have the following piece of code  -       var MyObjectModel = function(myObject){     var self = this;     self.myNumber = ko.observable(myObject.number).trimmed();     self.myNum...
I have a domain property and I want to validate two things;   URL exists (is reachable) URL exists in my local DB.   In order to check these things I created to async validation rules using https://github.com/Knockout-Contrib/Knockout-Validation and...
This clearly works on every regex tester I can find, as well as with jquery validation and MVC attributes. What am I missing? I have tried the literal as well as the RegExp but the most I get is validating the first 5 are numeric but other than that...
I have the following scenario:  function ViewModel(){      var self = this;      self.newQty = ko.observable().extend({                 pattern: {             message: "Wrong!",             params: new RegExp("^[1-9][0-9]*(\\,\\d{1,2})?|0...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.