tree-select icon indicating copy to clipboard operation
tree-select copied to clipboard

feat: support labelRender prop

Open inottn opened this issue 8 months ago • 2 comments

Allows custom rendering of the currently selected label, which can be used for value backfill but the corresponding option is missing and does not want to directly render the value.

Summary by CodeRabbit

  • 新功能

    • 现在支持通过 labelRender 属性自定义 TreeSelect 组件已选项的标签显示内容。
  • 测试

    • 新增了针对 labelRender 属性的用例,确保自定义标签渲染功能的正确性。

inottn avatar Apr 28 '25 06:04 inottn