-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Comments
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. |
I think it is missing in unplugin-vue-components, see https://github.com/unplugin/unplugin-vue-components/blob/main/src/core/resolvers/prime-vue.ts#L44-L47 |
See my PR: unplugin/unplugin-vue-components#728 |
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' }; }
}
]
}) |
Thanks @SamuelWei ;) |
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.
The text was updated successfully, but these errors were encountered: