Skip to content
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

Error message for ko if: to show or not show app #135

Open
carlahremarklund opened this issue Sep 13, 2019 · 0 comments
Open

Error message for ko if: to show or not show app #135

carlahremarklund opened this issue Sep 13, 2019 · 0 comments

Comments

@carlahremarklund
Copy link

Improve the error message when trying to hide an app for certain groups,
Error: You cannot apply bindings multiple times to the same element.

This occurs if you put a knockout if statement surrounding an data-app for actionpad.

<!-- ko if: EXPRESSION  -->
    <div data-app="{ app:'my_app' }"></div>
<!-- /ko -->

Solution is to load the required data into my_apps datasources and then use the ko if in my_app html.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant