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

InputGroup: InputGroup is broken #4991

Closed
nicolascvoodoo opened this issue Dec 22, 2023 · 5 comments
Closed

InputGroup: InputGroup is broken #4991

nicolascvoodoo opened this issue Dec 22, 2023 · 5 comments
Labels
Resolution: Cannot Replicate Issue could not be replicated by Core Team

Comments

@nicolascvoodoo
Copy link

Describe the bug

It seems that the component is not present in the package anymore.

Reproducer

https://stackblitz.com/run?file=src%2FApp.vue

PrimeVue version

3.44.0

Vue version

3.x

Language

TypeScript

Build / Runtime

Vue CLI App

Browser(s)

No response

Steps to reproduce the behavior

Juste open any StackBlitz example on the InputGroup document page.

exemple: https://stackblitz.com/run?file=src%2FApp.vue
or: https://stackblitz.com/run?file=src%2FApp.vue

Expected behavior

The component should behave as it should.

@nicolascvoodoo nicolascvoodoo added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Dec 22, 2023
@tugcekucukoglu tugcekucukoglu added Resolution: Cannot Replicate Issue could not be replicated by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Dec 22, 2023
Copy link

We're unable to replicate your issue, if you are able to create a reproducer or add details please edit this issue. This issue will be closed if no activities in 20 days.

@SamuelWei
Copy link

SamuelWei commented Jan 15, 2024

@SamuelWei
Copy link

See my PR: unplugin/unplugin-vue-components#728

@SamuelWei
Copy link

SamuelWei commented Jan 15, 2024

Workaround for Vite, adding your own custom resolver logic

Components({
  resolvers: [
    PrimeVueResolver(),
    (componentName) => {
      if (componentName === 'InputGroup') { return { from: 'primevue/inputgroup' }; }
      if (componentName === 'InputGroupAddon') { return { from: 'primevue/inputgroupaddon' }; }
    }
  ]
})

@mertsincan
Copy link
Member

Thanks @SamuelWei ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Cannot Replicate Issue could not be replicated by Core Team
Projects
None yet
Development

No branches or pull requests

4 participants