Clear icon shows in MultiSelect when value is empty array #7265
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
When the MultiSelect component uses the show-clear option, the clear button is still shown if the value is an empty array.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
No response
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-l5x4r9la?file=src%2FApp.vue
Environment
mac
Vue version
3.5.13
PrimeVue version
4.2.5
Node version
22.11.0
Browser(s)
No response
Steps to reproduce the behavior
Reproduction:
null
, so the clear icon is not show[]
, and the clear icon is shownExpected behavior
Expected:
The text was updated successfully, but these errors were encountered: