-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does Knockout-Validation support knockout-es5 #550
Comments
I don't really use knockout-es5 but support for that might be added in the future. See #477 |
Not really sure the following example is the way to go but seems to work just fine. |
Sorry missed this response. To my knowledge the purpose of knockout-es5 is to not use the As there seems to be no way around the |
@grofit Yes, you are right. I've updated the jsFiddle. Now it's pretty clear that's too much repetitive code to write - using Updated example https://jsfiddle.net/429xyj90/ |
What about parsing HTML5 attributes that are being data-bound to ES5-properties? I've tried it but knockout-validaition sends the value rather than the observable. Is there away to make knockout-validation resolve these observables? How hard is it to implement? |
Just wondering if there has been any progress on this? |
The linked issue shows how to setup validation rules, however the group and other helpers for wrapping a vm and listening for errors seems to fail. I know that there was a discussion in: Around how to handle this sort of stuff for other knockout libraries. |
I was able to work with
And call it like this one after
|
Hey,
I was just wondering if support had been added for using properties opposed to knockout observables as used in the knockout-es5 library. I cannot find much information on them, but as the
.extend()
is usually expecting an observable I was not sure if it would correctly work with the properties syntax used.The text was updated successfully, but these errors were encountered: