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

BaseComponent: Missing import 'isFunction' #6024

Closed
mathisdudler opened this issue Jul 8, 2024 · 1 comment
Closed

BaseComponent: Missing import 'isFunction' #6024

mathisdudler opened this issue Jul 8, 2024 · 1 comment
Assignees
Labels
Package: Core name: @primevue/core Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@mathisdudler
Copy link

Describe the bug

When using usePassThrough with the PassThroughOption mergeProps = true then the Error isFunction is not defined occurs.
This is also reproducible when using the directive :ptOptions="{ mergeProps: true }".

I've hunted this Bug down to this change: 796edf4#diff-628aa5aef48709786658e4fc862c3ea50d581a12497294252e6750be3e664c7e

There is just the isFunction import missing from @primeuix/utils/object.

Reproducer

https://stackblitz.com/edit/primevue-4-ts-vite-issue-template-a9doer?file=src%2FApp.vue

PrimeVue version

4.0.0

Vue version

4.x

Language

ALL

Build / Runtime

Nuxt

Browser(s)

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

@mathisdudler mathisdudler added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jul 8, 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 Jul 8, 2024
@mertsincan mertsincan added this to the 4.0.1 milestone Jul 8, 2024
@mertsincan mertsincan added the Package: Core name: @primevue/core label Jul 8, 2024
@mertsincan mertsincan self-assigned this Jul 8, 2024
@mertsincan
Copy link
Member

Good catch! Thanks a lot for your report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: Core name: @primevue/core 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