Chip Component's onRemove Event Does Not Provide Useful Information

UI Components for React
Post Reply
wolificus
Posts: 2
Joined: 08 Apr 2021, 16:34

02 Sep 2021, 20:02

I'm using the Chip component (not to be confused with the Chips component) and its onRemove event doesn't provide easily accessible information about which chip was removed. My codesandbox demo is below; any of the removeable chips will log the event to the console. It would be very nice to have it function more like the "Chips" component. I can't use the Chips component itself because its UI is an input box, and I'm populating the Chips from a highly customized Autocomplete.

https://codesandbox.io/s/optimistic-bas ... ipDemo.tsx

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests