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

CascaderPicker级联选择器使用visible属性后,value响应不正确 #1316

Open
1 of 5 tasks
snake34475 opened this issue Nov 28, 2024 · 0 comments
Open
1 of 5 tasks

Comments

@snake34475
Copy link

组件

Picker 选择器 CascaderPicker

基础库版本

  • 1.x
  • 2.x

设备机型

手机系统

  • iOS
  • Android
  • HarmonyOS

APP

组件库版本

v2.25.0

预期行为

预期:使用visible控制后,CascaderPicker组件的value能够正常勾选一级和二级选项
目前:

  1. 使用visible控制后,value仅能改变一级选项,二级选项的列表和选中状态都没有更新。
  2. 但不加visible控制,value响应正常。
  3. value设置初始值,显示正常。

复现步骤

  1. 下载官方CascaderPicker案例
  2. 在 《外部控制选择器是否显示》案例中添加value={{value}}
image
  1. 点击选择上海按钮
image
  1. 发现只有第一级改变
image

复现 demo

demo.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant