diff --git a/src/renderers/Form/Control.tsx b/src/renderers/Form/Control.tsx index 966210ac..f6177c1b 100644 --- a/src/renderers/Form/Control.tsx +++ b/src/renderers/Form/Control.tsx @@ -306,7 +306,7 @@ export default class FormControl extends React.Component if (this.model.unique && form.parentStore && form.parentStore.storeType === ComboStore.name) { const combo = form.parentStore as IComboStore; const group = combo.uniques.get(this.model.name) as IUniqueGroup; - group && group.items.forEach(item => item.validate()); + group.items.forEach(item => item.validate()); } else { this.model.validate(this.hook); form.getItemsByName(this.model.name)