Chips: Removed in V20-rc
The Chips component has again been removed in v20-rc: https://github.com/primefaces/primeng/commit/86389f5126bd484727401c823fe00f780425fbfa
Despite having established that Autocomplete doesn't provide a feature-complete replacement: https://github.com/primefaces/primeng/issues/16390#issuecomment-2795088855
Is its deprecation now final and a Chips replacement needs to be implemented seperately?
See: https://primeng.org/migration/v20
See: https://primeng.org/migration/v20
![]()
Have a look at this earlier issue: https://github.com/primefaces/primeng/issues/16390
Autocomplete with [typeahead]="false" doesn't provide the same feature set as Chips. It specifically lacks automatic string seperation by [separator] input.
In our case, our users also really miss being able to use TAB to jump to the next control and the last item automatically being accepted. With the current behaviour the last item (text) just "disappears" and the user often doesn't realize it.
I did some digging and found out that PrimeVue v4 has the same issue open: https://github.com/primefaces/primevue/issues/6611 Are there any updates regarding this?
Chips has been removed in v18.0.0, re-added in v18.0.02/v19 and now it's removed again from v20.
@cagataycivici Can you tell us what's the status of this component? You said in this comment this was a mistake to remove it.
I need to add a Chips-selector component to my app. I tried to implement it using the autocomplete component, but it's not the same. This scenario is difficult - or impossible - to implement with autocomplete:
- Having a field where the user can select chips from an existing list.
- Creating a new chip if it doesn't exist yet.
I can of course implement it by doing (onKeyUp)="add($event.code, $event.target)", but it's a dirty solution
Autocomplete also seems to be missing an onAdd type emitter when typeahead=false and multiple=true, (just an onSelect event when a typeahead suggestion is selected). This is what this issue https://github.com/primefaces/primeng/issues/17114 was originally reporting.
Any updates here?
fixed in https://github.com/primefaces/primeng/commit/a9cc50ec03c150e5cb7217551bdb7da55ff9a2f5
https://github.com/primefaces/primeng/issues/18923