AutoComplete: V4 Chips Component was Deprecated, AutoComplete with the multiple param does not allow the very convenient addOnBlur or separator params #6611
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Describe the bug
AutoComplete with the multiple param does not currently have two very convenient features of the Chips component. The chips component worked much better for allowing users to add their own inputs because of the addOnBlur and separator params.
Would be awesome to have that functionality added to the AutoComplete component, since I don't think people can consistently rely on users pressing enter after typing freeform text. I think that works if there are pre-determined options with the dropdown, but does not work when it's just trying to get users to enter array items.
Reproducer
https://stackblitz.com/edit/primevue-4-vite-issue-template-888z42?file=README.md,src%2FApp.vue
PrimeVue version
4.1.0
Vue version
4.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
Ideally, if a user has anything typed in the component and clicks off the component, that text would become a chip when addOnBlur is a param. And when separator is a param, having separator="," would allow the user to paste a comma separated list with each item properly getting added as a chip. These features existed in the now deprecated Chips component, and without these features I don't think AutoComplete replaces the functionality offered by the Chips component
The text was updated successfully, but these errors were encountered: