Skip to content

Cascader级联选择多选模式下,选中次级目录,选择框中没有展示完整路径,通过tagRander进行定制,回调函数也无法获取完整路径信息 #33683

@zffstruggling

Description

@zffstruggling
  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://ant.design/components/cascader-cn/

Steps to reproduce

1.多选模式下,选中次级目录,选择框无法展示完整路径
2.选中之后输入框展示numbe0,number0

What is expected?

选中次级目录输入框展示:light0/number0,light1/number0

What is actually happening?

number0,number0,number0

Environment Info
antd 4.18.2
React 16
System windows
Browser google

之前的4.18.0版本是展示完整路径的,更新之后就没了,如果输入框出现多个相同的次级目录名称,很容易混淆,很不友好

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions