Welcome to the React feedback portal. We’re happy you’re here! If you have feedback on how to improve the React, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

4
Votes

valueTemplate support on Dropdown Tree component, similar with the one from dropdown list.

I am trying to obtain separate chips for the selected child and corresponding parent as value. Each chip with it's own remove icon. If the remove icon of the child is clicked, the parent is still shown as selected value, and the dropdown tree only shows the child(children) of that parent.

If this can be obtained with an existing functionality of the dropdown tree, please advise.


Using the customTemplate property, we can set the selected item length value in the Dropdown Tree input. We have to enable the allowMultiSelection and showCheckBox property to utilize the customTemplate functionality. 

In the valueTemplate property, Consider the case that without utilizing the multi selection and check box property, need to provide support to define the input value using template function.