Closed JeroenVinke closed 8 years ago
I can create a PR with some tests for this, but i'm having a hard time getting to the element on which the custom attribute has been placed. I have access to the Controller behind the custom attribute, but the element where the attribute has been placed on isn't there as far as I can see. The create function of the HtmlBehaviorResource has both the element and the Controller but it does not push the element onto the controller (not when it's a custom attribute that's being created).
Is there a different way to get to the element, or should we push the element on the controller in the HtmlBehaviorResource's create function?
Issue moved to aurelia/validation #288 via ZenHub
When putting the validate binding behavior on a custom attribute's bindable variable the following error is thrown:
https://gist.run/?id=14ac85668b3ca27dcd8ad6d3f6579fb0/7bae372b9b6f18353f9faba700cef18581884210