-
Notifications
You must be signed in to change notification settings - Fork 4
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
Using ValidateBindingBehaviour with custom validation strategy #12
Comments
Hello, Currently there is a large re-write of the aurelia bindings which use the new shared view layer (treacherous-view) but this is currently not finished as there are some quirks with aurelia and attributes: aurelia/templating-binding#106 The current library should be useable but it was a first pass approach at getting it working the newer version will make the approaches a bit more "streamlined" between different frameworks. I know this doesn't solve your problem right now but almost all the code will be replaced with the new version. |
Hi, I followed the instructions for overriding the default implementation of the validation strategy, but could not make it work. It seemed like the
attached
method was never called inside the ValidationBindingBehaviour class.Also I have found a SO post about singleton behaviour inside a BindingBehaviour, so I've adjusted the code to not use the attached method and move the state to a object attached to the binding itself.
I can submit a PR for review.
The text was updated successfully, but these errors were encountered: