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

Switch 组件为什么不受控? #17045

Open
day-xue opened this issue Dec 18, 2024 · 1 comment
Open

Switch 组件为什么不受控? #17045

day-xue opened this issue Dec 18, 2024 · 1 comment

Comments

@day-xue
Copy link

day-xue commented Dec 18, 2024

相关平台

H5

浏览器版本: chrome130
使用框架: React

复现步骤

Switch组件不能受控

期望结果

Switch组件能受控

实际结果

Switch组件不能受控

环境信息

👽 Taro v3.5.7


  Taro CLI 3.5.7 environment info:
    System:
      OS: macOS 14.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 16.20.2 - ~/.nvm/versions/node/v16.20.2/bin/node
      Yarn: 1.22.21 - ~/.nvm/versions/node/v16.20.2/bin/yarn
      npm: 8.19.4 - ~/.nvm/versions/node/v16.20.2/bin/npm
    npmPackages:
      @tarojs/api: 3.5.7 => 3.5.7
      @tarojs/cli: 3.5.7 => 3.5.7
      @tarojs/components: 3.5.7 => 3.5.7
      @tarojs/mini-runner: 3.5.7 => 3.5.7
      @tarojs/plugin-framework-react: 3.5.7 => 3.5.7
      @tarojs/react: 3.5.7 => 3.5.7
      @tarojs/taro: 3.5.7 => 3.5.7
      @tarojs/taro-h5: 3.5.7 => 3.5.7
      @tarojs/webpack-runner: 3.5.7 => 3.5.7
      @tarojs/webpack5-runner: 3.5.7 => 3.5.7
      babel-preset-taro: 3.5.7 => 3.5.7
      eslint-config-taro: 3.5.7 => 3.5.7
      react: 17.0.2 => 17.0.2
@day-xue
Copy link
Author

day-xue commented Dec 18, 2024

image
期望能给一个字段 比如 延用 controlled 这个字段不止在支付宝

This was referenced Dec 21, 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

1 participant