-
Notifications
You must be signed in to change notification settings - Fork 620
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
[Table] New generic slots. #1931
Comments
I'm also looking for a way to manipulate the header because I would like to display icons there |
@migro1982 you can do something like this. It's not as obvious as proposed in the issue, but it solves the problem. <template
v-for="header in headers"
:key="header.key"
#[`${header.key}-header`]="{ column }"
>
Slot of "{{ column }}"
</template> |
This would be so helpful... this is my current set up
I would really prefer it if I could indicate a condition for when the row is selected and present the complete form with validation else default to the table data... This is my implementation of utable with form input |
@benjamincanac |
@Nyantekyi I'll keep this in mind when building the |
Duplicate #818. |
Reading the issue you commented above, it doesn't seem to be the same topic. Anyway, I hope it's available in #2139. |
@caiotarifa It's implicit, all components in Nuxt UI v3 implement generics 😊 |
Description
Currently, we have slots named
<column>-header
and<column>-data
. However, in some scenarios, it may be necessary to intercept all cells, regardless of the column name.It would be beneficial to introduce generic
header
anddata
slots.Additional context
No response
The text was updated successfully, but these errors were encountered: