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

h5 中,Field组件,输入内容然后点击输入框中的清除图标,没有触发 onClear 事件,内容没有清除 #621

Open
1 of 7 tasks
johns-web opened this issue Mar 2, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@johns-web
Copy link

johns-web commented Mar 2, 2024

这个 Issue 涉及以下平台:

  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 头条小程序
  • 快手小程序
  • QQ 轻应用
  • Web 平台(H5)

BUG 描述
Taro版本号:3.6.23
vantui版本号:3.3.3
文档中示例代码即复现:

<Field
        clearable
        value={value}
        placeholder='请输入用户名'
        
></Field>

复现步骤
在 h5 页面中,输入内容然后点击输入框中的清除图标,没有触发 onClear 事件,内容没有清除

期望结果
正常清除内容

实际结果

截图

环境

附加信息

@johns-web johns-web changed the title h5 中,输入内容然后点击输入框中的清除图标,没有触发 onClear 事件,内容没有清除 h5 中,Field组件,输入内容然后点击输入框中的清除图标,没有触发 onClear 事件,内容没有清除 Mar 2, 2024
@zuolung
Copy link
Contributor

zuolung commented Mar 5, 2024

没有onChange事件

@zuolung zuolung added the help wanted Extra attention is needed label Apr 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants