Select: Invalid padding calc
when clear icon present
#5847
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When using Select component with
show-clear
property and long enough text the padding is not correctly set and the clear button overlaps the text.See this example:
I have a fix for this and will open a PR in a moment.
Reproducer
https://stackblitz.com/edit/vitejs-vite-uhadb8?file=src%2FApp.vue
PrimeVue version
4.0.0-beta.4
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Chrome 125.0.6422.142
Steps to reproduce the behavior
Select
componentshow-clear
propExpected behavior
The clear button should be separated from the label by some distance.
The text was updated successfully, but these errors were encountered: