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

FileUpload: Failed to resolve the Badge and Button components #3154

Closed
FilipeAlmeida20 opened this issue Oct 25, 2022 · 2 comments
Closed

FileUpload: Failed to resolve the Badge and Button components #3154

FilipeAlmeida20 opened this issue Oct 25, 2022 · 2 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@FilipeAlmeida20
Copy link

Describe the bug

The FileContent component inside the FileUpload does not locally register the Badge and Button components.
image
As you can see in the FileContent implementation there is no local registration of both the Button and Badge components:
image

Note: this warning is not shown in the PrimeVue demo because the components are globally registered.

Reproducer

No response

PrimeVue version

3.18.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

Chrome 106

Steps to reproduce the behavior

No response

Expected behavior

The components should be resolved.

@FilipeAlmeida20 FilipeAlmeida20 added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Oct 25, 2022
@tugcekucukoglu
Copy link
Member

Fixed 9a6183c

@bahadirsofuoglu
Copy link
Contributor

This issue will be fixed in 3.18.1. But now you can import badge component globally for fixing warnings (temporary solution). Thank you for your feedback.

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

3 participants