mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 11:58:10 +08:00
[fix] 文本框在非表单容器下配置自动补全出错 (#3760)
This commit is contained in:
parent
2c4337a052
commit
bd96b30b08
@ -179,7 +179,7 @@ export default class TextControl extends React.PureComponent<
|
|||||||
term: ''
|
term: ''
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
} else {
|
} else if (addHook) {
|
||||||
this.unHook = addHook(async (data: any) => {
|
this.unHook = addHook(async (data: any) => {
|
||||||
await formItem.loadOptions(
|
await formItem.loadOptions(
|
||||||
autoComplete,
|
autoComplete,
|
||||||
|
Loading…
Reference in New Issue
Block a user