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

DataTable: Column with no props throws exception #5056

Closed
reitowo opened this issue Jan 10, 2024 · 1 comment · Fixed by #5069
Closed

DataTable: Column with no props throws exception #5056

reitowo opened this issue Jan 10, 2024 · 1 comment · Fixed by #5069
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@reitowo
Copy link

reitowo commented Jan 10, 2024

Describe the bug

<DataTable> 
    <Column>   <--  This throws bug in 3.46, normal in 3.44
      <template #body="{ data }: { data: WashJobTask }">
        <div class="flex flex-row-reverse gap-2 align-items-center">
          xxx
        </div>
      </template>
      <template #header>
        <div class="flex flex-row-reverse w-full gap-3 align-items-center">
           xxx
        </div>
      </template>
    </Column>
</DataTable>

Reproducer

https://codesandbox.io/p/sandbox/nostalgic-tu-hj2v3g

PrimeVue version

3.46

Vue version

"dependencies": {
"@vitejs/plugin-vue": "4.3.4",
"primeflex": "^3.3.1",
"primeicons": "^6.0.1",
"primevue": "^3.46.0",
"vite": "4.5.1",
"vue": "3.3.4"
},

Note: @vitejs/plugin-vue use 4.6.x will solve the issue.

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@reitowo reitowo added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 10, 2024
@mertsincan mertsincan added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Jan 11, 2024
@mertsincan mertsincan added this to the 3.47.0 milestone Jan 11, 2024
@mertsincan mertsincan added the Status: Pending Review Issue or pull request is being reviewed by Core Team label Jan 11, 2024
@CodeNamedRobin
Copy link

I think this is the same issue as #5053 ?

@mertsincan mertsincan removed the Status: Pending Review Issue or pull request is being reviewed by Core Team label Jan 14, 2024
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

Successfully merging a pull request may close this issue.

3 participants