R
R
Roman Korobko2021-05-15 21:31:28
unreal engine
Roman Korobko, 2021-05-15 21:31:28

How to combine TreeSelect with 'tags' mode from Select in Ant Design?

How, using https://ant.design/components/tree-select/?theme=c... (i.e. tree autocomplete search) to add the feature presented in https://ant.design/components/select/ ?theme=compac... (generate input to tag). That is, I would like to search the tree, and if there is no suitable entry in the tree, generate a tag based on the input. And further I would like to receive separately the list of the entered tags received from a tree and separately - entered manually. I want to have a tree in JSON format.

As far as I understand, in the first case, the component is used, and in the second - , which can have a tag mode ( mode="tags").. but I don't understand how to combine both functions. Adding " mode="tags"" to activates tag mode but kills the tree search.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question