mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:39:05 +08:00
fix : input-text选择器模式下,clearable无效问题 (#9293)
Co-authored-by: junjie.liu <junjie.liu@junjieliudeMacBook-Pro.local>
This commit is contained in:
parent
76831e12ef
commit
27a9bbeb26
@ -839,12 +839,14 @@ export default class TextControl extends React.PureComponent<
|
||||
</>
|
||||
|
||||
{clearable && !disabled && !readOnly && value ? (
|
||||
<a onClick={this.clearValue}>
|
||||
<a
|
||||
onClick={this.clearValue}
|
||||
className={cx('TextControl-clear')}
|
||||
>
|
||||
<Icon
|
||||
icon="input-clear"
|
||||
className="icon"
|
||||
classNameProp={cx('TextControl-clear')}
|
||||
iconContent="InputBox-clear"
|
||||
iconContent="InputText-clear"
|
||||
/>
|
||||
</a>
|
||||
) : null}
|
||||
|
Loading…
Reference in New Issue
Block a user