Replies: 6 comments 1 reply
-
Workaround: <span class="p-input-icon-right">
<AutoComplete ...>
<i
v-if="value.length > 0"
class="pi pi-times-circle"
style="cursor: pointer"
@click="value = ''"
/>
</span> |
Beta Was this translation helpful? Give feedback.
-
Also looking for this. Would be a good addition to add a prop or slot to allow the input to be cleared once a selection has been made. I'm thinking it can go on the right hand side by default (where the loading icon goes) |
Beta Was this translation helpful? Give feedback.
-
Thanks for workaround, but I agree - it would be good to have this built-in for all the different inputs |
Beta Was this translation helpful? Give feedback.
-
I was looking for this. In my opinion this should be configurable like |
Beta Was this translation helpful? Give feedback.
-
Also agree 👏💪🏻 |
Beta Was this translation helpful? Give feedback.
-
agreed, would be great to have this added |
Beta Was this translation helpful? Give feedback.
-
Reposting here the issue posted by @cuberinooo not so long aso (primefaces/primevue#4108) requesting a "Clear input" button for AutoComplete. It would be a great idea. Any others agreeing with this?
Beta Was this translation helpful? Give feedback.
All reactions