Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cascader] : value值需要唯一的(也就是Key唯一) #2694

Closed
duxphp opened this issue Dec 29, 2023 · 4 comments
Closed

[cascader] : value值需要唯一的(也就是Key唯一) #2694

duxphp opened this issue Dec 29, 2023 · 4 comments
Labels
⛔️ pending the issue won't be processed right now

Comments

@duxphp
Copy link
Contributor

duxphp commented Dec 29, 2023

tdesign-react 版本

18

重现链接

No response

重现步骤

使用load 和全路径模式加载异步省市区数据, 但是 北京市/北京市 无法进行设置 也就是省和市的值都为北京市 则无法再加载下级数据

期望结果

使用全路径模式返回的值应该是 ['北京市', '北京市', '东城区']

实际结果

实际无法展开二级数据,因为 value 和省的名称冲突了

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

Copy link
Contributor

👋 @duxphp,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

Copy link
Contributor

github-actions bot commented Dec 29, 2023

♥️ 有劳 @PengYYYYY 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @duxphp

@HaixingOoO HaixingOoO added the 💭 discussion we are discussing label Dec 29, 2023
@duxphp
Copy link
Contributor Author

duxphp commented Dec 29, 2023

@HaixingOoO HaixingOoO added ⛔️ pending the issue won't be processed right now and removed 💭 discussion we are discussing labels Jan 24, 2024
@HaixingOoO
Copy link
Collaborator

HaixingOoO commented Jan 24, 2024

@duxphp 您好,目前Cascader的value是要唯一的(也就是Key唯一),所以这个issue暂不处理,谢谢!!!

@HaixingOoO HaixingOoO changed the title [cascader] 省市区选择的问题 [cascader] : value值需要唯一的(也就是Key唯一) Jan 30, 2024
@uyarn uyarn closed this as completed Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⛔️ pending the issue won't be processed right now
Projects
None yet
Development

No branches or pull requests

3 participants