-
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
IconField: Doesn't work with InputNumber #6015
Labels
design-token
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
Comments
+1 |
I added a potential fix that the core team can better evaluate, but as you pointed out the markup causes the issue given the theme adding the extra padding only when the input field is a direct ancestor. If not done so already, you should be able to override with a similar CSS rule locally. |
+1, really want this! |
It would be great to see IconField work on all inputs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
design-token
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Describe the bug
IconField does not work when used together with InputNumber due to how InputNumber is structured, wrapping the
input
Reproducer
https://stackblitz.com/edit/zwobe8?file=src%2FApp.vue
PrimeVue version
3.51.0
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
Go to repro link and observer the difference in rendering between using NumberInput and TextInput
Expected behavior
Should support using IcondField with NumberInput the same way as it does for TextInput
The text was updated successfully, but these errors were encountered: