mantinedev / mantine

A fully featured React components library
https://mantine.dev
MIT License
26.87k stars 1.9k forks source link

TreeSelect component #756

Closed wang2lang closed 2 years ago

wang2lang commented 2 years ago

Usage example, including component/hook API

https://github.com/react-component/tree https://github.com/react-component/tree-select

Possible implementation – describe how the feature can be implemented

No response

Do you want to contribute this feature and create a pull request

No response

zhulien-ivanov commented 2 years ago

Those are the only 2 essential components for a UI library that are still missing. We're planning migration to Mantine but can't do it without a TreeSelect of some sort. Do you have any plans on implementing this for the next major release?

rtivital commented 2 years ago

Yes, I'm planning to add these components in one of 4.x releases

pavi2410 commented 2 years ago

@rtivital Let me know if you require any help. I need this component.

rtivital commented 2 years ago

You can contribute a TreeSelect component, to do that:

stephenirven commented 2 years ago

I'm also interested in this. For info of anyone looking for a solution right now, it could be worth looking at this https://github.com/minop1205/react-dnd-treeview

It seems to be quite fully featured, and there are CodeSandbox samples for various use cases including select. The samples use Material-UI, but the module doesn't depend on it, so it's possible to get it working with Mantine.