Skip to content

Issue with v-component/v-repeat combined #1004

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

Closed
miljan-aleksic opened this issue Jul 3, 2015 · 0 comments
Closed

Issue with v-component/v-repeat combined #1004

miljan-aleksic opened this issue Jul 3, 2015 · 0 comments
Labels

Comments

@miljan-aleksic
Copy link

Tested with latest v.0.12.5, seems v-component does not work with v-repeat as it does with "component is" or "my-component". It would not be much problem if it was not for tables where the TR must be used.

Example:

<tbody>
   <tr v-component="my-component" v-repeat="resources" ></tr>
</tbody>

I have created a fiddle, where you can see is failing and the error in the console would be Do not create a component that only contains a single other component - they will be mounted to the same element and cause conflict. Wrap it with an outer element

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

No branches or pull requests

2 participants