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

Usage of header slot produces JavaScript error when beeing combined with ColumnGroups #349

Closed
AlexanderGrasberger opened this issue Jun 21, 2020 · 2 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@AlexanderGrasberger
Copy link

Vue produces a error when using <template #header> inside of a ColumnGroup like so:

<ColumnGroup type="header">
    <Row>
        <Column field="someField" :sortable="true">
            <template #header>
               Custom header
            </template>
        </Column>
    </Row>
</ColumnGroup>

The issue is being caused by the usage of a component ColumnSlot within the TableHeader.vue.
In the registration for the component the name was changed to DTColumnSlot.

@AlexanderGrasberger
Copy link
Author

I have sent a pull request according to this problem: #345

@cagataycivici cagataycivici self-assigned this Jul 3, 2020
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jul 3, 2020
@cagataycivici cagataycivici added this to the 2.0.0-rc.3 milestone Jul 3, 2020
@cagataycivici
Copy link
Member

Thank you sir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants