-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
Closed
Labels
Description
What problem does this feature solve?
At the moment it seems to be impossible to create one component per row in a table using inline templates.
If have collected my unsuccessful attempts in this fiddle: https://jsfiddle.net/hfu0zccs/
This is the link where it was suggested by LinusBorg to open an issue but apparently that never happended?
What does the proposed API look like?
Considering the limitations involved with restrictions of allowed elements in tables this would seem to be the most likely to be supported? Although it is pretty ugly form my understanding this would be valid html and honor the 1 child only requirement of vue.
<table>
<tr is="table-row" inline-template>
<template>
<tr>
<td>{{ content }}</td>
<td>{{ content }}</td>
</tr>
</template>
</tr>
</table>