mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:39:05 +08:00
Merge pull request #9469 from TigerWFH/feature_inputtag_blur
fix: issue#9468,inputtag在输入内容为空,回车触发表单提交,假死问题
This commit is contained in:
commit
f2b67af515
@ -506,6 +506,8 @@ export default class TagControl extends React.PureComponent<
|
||||
this.setState({
|
||||
inputValue: ''
|
||||
});
|
||||
} else if (!value && evt.key === 'Enter') {
|
||||
this.handleBlur(evt);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user