diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 3e5b14ae9..cbe33c7ba 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -173,7 +173,9 @@ func getAttrViewAddingBlockDefaultValues(attrView *av.AttributeView, view, group if nil != newValue { if !av.MSelectExistOption(newValue.MSelect, groupView.GetGroupValue()) { - newValue.MSelect = append(newValue.MSelect, &av.ValueSelect{Content: opt.Name, Color: opt.Color}) + if 1 > len(newValue.MSelect) || av.KeyTypeMSelect == groupKey.Type { + newValue.MSelect = append(newValue.MSelect, &av.ValueSelect{Content: opt.Name, Color: opt.Color}) + } } } else { newValue = av.GetAttributeViewDefaultValue(ast.NewNodeID(), groupKey.ID, addingItemID, groupKey.Type)