mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
20eb848262
Before this commit, creating a sub component with t-att-style/t-att-class attributes or with t-on- event handlers would override the *hook* object rendered by the sub component. This is an issue for some directives, such as t-ref, which defines hook functions. This commit fixes the issue by checking for an override, and wrapping the hooks in a function that calls each defined hook. closes #638