Skip to content

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

Closed
@AlexanderGrasberger

Description

@AlexanderGrasberger

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: BugIssue contains a bug related to a specific component. Something about the component is not working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions