diff --git a/src/components/answer/TypeaheadAnswer.jsx b/src/components/answer/TypeaheadAnswer.jsx index 25cda163..ccb33227 100644 --- a/src/components/answer/TypeaheadAnswer.jsx +++ b/src/components/answer/TypeaheadAnswer.jsx @@ -14,7 +14,7 @@ import { IntelligentTreeSelect } from "intelligent-tree-select/lib/components/In import "intelligent-tree-select/lib/styles.css"; const processTypeaheadOptions = (options, intl) => { - if (!options) { + if (!options || !options.length) { return []; }