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

Accessing column props in Slots #498

Closed
cagataycivici opened this issue Sep 26, 2020 · 0 comments
Closed

Accessing column props in Slots #498

cagataycivici opened this issue Sep 26, 2020 · 0 comments
Assignees
Labels
Type: Breaking Change Issue contains a breaking change related to a specific component
Milestone

Comments

@cagataycivici
Copy link
Member

Table and TreeTable passes column information to the templating slots, for Vue 3 these are vnodes so props should be access via props.

Before
{code}

<template #header="slotProps">
{{slotProps.column.header}}


{code}

After
{code}

<template #header="slotProps">
{{slotProps.column.props.header}}


{code}

@cagataycivici cagataycivici added the Type: Breaking Change Issue contains a breaking change related to a specific component label Sep 26, 2020
@cagataycivici cagataycivici added this to the 3.0.0-rc.1 milestone Sep 26, 2020
@cagataycivici cagataycivici self-assigned this Sep 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Breaking Change Issue contains a breaking change related to a specific component
Projects
None yet
Development

No branches or pull requests

1 participant