diff --git a/src/components/sentence/AttributeTable.vue b/src/components/sentence/AttributeTable.vue index 0cc79cbe..bddd18ba 100644 --- a/src/components/sentence/AttributeTable.vue +++ b/src/components/sentence/AttributeTable.vue @@ -35,7 +35,7 @@ :options-sanitize="true" @input-value="onInput()" /> - + @@ -61,7 +61,7 @@ /> x.name === row.a)[0] || {}).values; }, + computeValue(row: any) { + if (this.computeValueOptions(row).length === 1) { + row.v = this.computeValueOptions(row)[0]; + } + }, computeValueType(row: any) { const possibleValue = (this.featPossibleOptions.filter((x) => x.name === row.a)[0] || {}).values; if (possibleValue && possibleValue instanceof Array) return possibleValue;