sanusart / react-dropdown-select

Customisable dropdown select for react
https://react-dropdown-select.netlify.app/
MIT License
349 stars 83 forks source link

How to Create Group by list component #292

Closed Adarshipe5544 closed 1 year ago

Adarshipe5544 commented 1 year ago

const myData = [ { text: 'Atlanta', group: 'US', value: 'atl' }, { text: 'Boston', group: 'US', value: 'bos' }, { text: 'Bath', group: 'UK', value: 'bat' }, { text: 'Bristol', group: 'UK', value: 'bri' }, ];

I Need to Group it like : US

sanusart commented 1 year ago

No groupOps support our off the box right now. Sorry. You can override every component though to create something similar.

On Fri, Jul 28, 2023, 3:00 PM Adarshipe5544 @.***> wrote:

— Reply to this email directly, view it on GitHub https://github.com/sanusart/react-dropdown-select/issues/292, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACBLRS6NZ7J5NAV4BTF73LXSOSVVANCNFSM6AAAAAA23MZ63I . You are receiving this because you are subscribed to this thread.Message ID: @.***>