diff --git a/packages/amis/src/renderers/Form/Select.tsx b/packages/amis/src/renderers/Form/Select.tsx index aa982e826..69c00166d 100644 --- a/packages/amis/src/renderers/Form/Select.tsx +++ b/packages/amis/src/renderers/Form/Select.tsx @@ -341,7 +341,10 @@ export default class SelectControl extends React.Component { if (!formInited) { this.unHook && this.unHook(); - return (this.unHook = addHook(this.loadRemote.bind(this, input), 'init')); + return ( + addHook && + (this.unHook = addHook(this.loadRemote.bind(this, input), 'init')) + ); } this.lastTerm = input;