FloatLabel: The placeholder in the input and FloatLabel overlap each other #7102
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
When using FloatLabel component with any form input component that has a placeholder, both texts (the placeholder and the FloatLabel) are displayed in the same place, causing them to overlap each other. This issue affects all form components including InputText, InputNumber, DatePicker, AutoComplete, and Select. This makes both texts illegible and creates poor user experience.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/5ecwrupg-5owlkjfp?file=src%2FApp.vue
Environment
PrimeVue Version: 4.2.5
Vue Version: 3.5.13
Node Version: 22.13.0
OS: Linux Mint (latest)
Vue version
3.5.13
PrimeVue version
4.2.5
Node version
22.13.0
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
When an input field has both a placeholder and FloatLabel:
The text was updated successfully, but these errors were encountered: