Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
3.4.1
Environment
浏览器
Reproduction link
https://ant.design/components/input-cn/
Steps to reproduce
给 <Input.Search />
设置 disabled
属性只会禁用输入框,而不会禁用按钮,这会造成潜在的问题
What is expected?
disable Search 组件的时候,应该同时禁用 Search 按钮
What is actually happening?
按钮不会被禁用,造成点击按钮的时候,相应的回调会被触发(虽然理论上可以拦截这个回调逻辑的执行,但是这样的设计并不优雅)
Metadata
Metadata
Assignees
Labels
No labels