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

fix: #6015 IconField compatibility with InputNumber #6523

Conversation

WatCodeDatCode
Copy link
Contributor

Given the CSS direct sibling selector, the appropriate padding for the input field could not be applied when InputNumber is used given it's nesting inside a span element.

Removing the direct sibling selector and styling more akin to V4 allows the nested input to be detected, however I can gladly update to extend and specifically target the input of the nested number input if preferred.

The :last-of-type selector on the p-input-icon element also fail in this regard due to the nesting, unless the markup is specifically set to have the InputIcon appear after the InputText.

###Defect Fixes
#6015

Copy link

vercel bot commented Oct 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
primevue ❌ Failed (Inspect) Oct 4, 2024 0:00am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
primevue-v3 ⬜️ Ignored (Inspect) Visit Preview Oct 4, 2024 0:00am

@tugcekucukoglu
Copy link
Member

Thanks for your contribution. To accept this PR, firstly primevue-sass-theme repo should be updated for version 3.

@tugcekucukoglu tugcekucukoglu added vue3 Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated. labels Oct 4, 2024
@WatCodeDatCode
Copy link
Contributor Author

Thank you for pointing me in the right direction, that makes a lot of sense! I'll open a corresponding change there.

@james-onpoint
Copy link

+1, Hopefully we can have this merged soon!

@tugcekucukoglu
Copy link
Member

primefaces/primevue-sass-theme#79

Closing this PR temporarily. Will be fixed for the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Needs Revision The pull request can't be merged. Conflicts need to be corrected or documentation and code updated. vue3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants