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

Allow mv-list and its attributes on mv-app? #1000

Open
karger opened this issue Nov 25, 2023 · 0 comments
Open

Allow mv-list and its attributes on mv-app? #1000

karger opened this issue Nov 25, 2023 · 0 comments

Comments

@karger
Copy link
Collaborator

karger commented Nov 25, 2023

In mavo when we have mv-app="foo", foo becomes the name by which we can refer to the root object of the app. Which has always been consistent for apps whose root object is an object. But when the root object is a list it got complicated; you need to define a property inside the mv-app to hold the list and change the way you reference it. But now that we have fixed mv-multiple, the consistent way to have an app whose (root) data is a list would just be to put mv-list onto the mv-app element.

But right now that doesn't work. https://codepen.io/karger/pen/oNmyaqW?editors=1100

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

No branches or pull requests

2 participants