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

form下的picker在第一次不选择选项,直接取消选择后再次点击picker,出现第一项被选中的问题 #2290

Open
zjutlf opened this issue May 28, 2024 · 2 comments
Assignees

Comments

@zjutlf
Copy link

zjutlf commented May 28, 2024

NutUI React 包名

@nutui/nutui-react-taro

NutUI React 版本号

2.6.4

平台

h5, weapp

重现链接

https://codesandbox.io/p/sandbox/nutui-react-t32k7p?file=%2Fsrc%2FApp.tsx

重现步骤

form下的picker在第一次不选择提交选项,直接取消选择后再次点击picker,出现第一项被选中的问题

期望的结果是什么?

取消后再次点击,选项应不被选中

实际的结果是什么?

第一项被选中

环境信息

Taro CLI 3.6.27 environment info:
System:
OS: Windows 10 10.0.19045
Binaries:
Node: 16.16.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
npm: 8.11.0 - C:\Program Files\nodejs\npm.CMD
npmPackages:
@tarojs/cli: 3.6.27 => 3.6.27
@tarojs/components: 3.6.27 => 3.6.27
@tarojs/helper: 3.6.27 => 3.6.27
@tarojs/plugin-framework-react: 3.6.27 => 3.6.27
@tarojs/plugin-html: ^4.0.0-canary.11 => 4.0.0-canary.11
@tarojs/plugin-platform-alipay: 3.6.27 => 3.6.27
@tarojs/plugin-platform-h5: 3.6.27 => 3.6.27
@tarojs/plugin-platform-jd: 3.6.27 => 3.6.27
@tarojs/plugin-platform-qq: 3.6.27 => 3.6.27
@tarojs/plugin-platform-swan: 3.6.27 => 3.6.27
@tarojs/plugin-platform-tt: 3.6.27 => 3.6.27
@tarojs/plugin-platform-weapp: 3.6.27 => 3.6.27
@tarojs/react: 3.6.27 => 3.6.27
@tarojs/runtime: 3.6.27 => 3.6.27
@tarojs/shared: 3.6.27 => 3.6.27
@tarojs/taro: 3.6.27 => 3.6.27
@tarojs/taro-loader: 3.6.27 => 3.6.27
@tarojs/webpack5-runner: 3.6.27 => 3.6.27
babel-preset-taro: 3.6.27 => 3.6.27
eslint-config-taro: 3.6.27 => 3.6.27
react: ^18.0.0 => 18.2.0
taro-ui: ^3.3.0 => 3.3.0

其他补充信息

No response

@zjutlf
Copy link
Author

zjutlf commented May 28, 2024

这个问题在#1953 中也有提到,但至今仍未被修复,在#1953 评论4中提到的解决方案,因是动态表单,无法采用该方案解决,所以请求尽快查找修复该问题

@xiaoyatong xiaoyatong self-assigned this Jul 23, 2024
@Lin-Min
Copy link

Lin-Min commented Sep 19, 2024

这个问题咩时候修复啊,今天就遇到了啊

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

3 participants