We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1fb44e commit 05c907bCopy full SHA for 05c907b
ui/src/components/view/DetailSettings.vue
@@ -73,7 +73,7 @@
73
<a-auto-complete
74
style="width: 100%"
75
v-model:value="item.value"
76
- :options="detailOptions[item.name]"
+ :options="getDetailOptions(detailOptions[item.name])"
77
@change="val => handleInputChange(val, index)"
78
@pressEnter="e => updateDetail(index)" />
79
<tooltip-button
@@ -224,6 +224,13 @@ export default {
224
handleInputChange (val, index) {
225
this.details[index].value = val
226
},
227
+ getDetailOptions (values) {
228
+ if (!values) {
229
+ return
230
+ }
231
+ var data = values.map(value => { return { value: value } })
232
+ return data
233
+ },
234
onAddInputChange (val, obj) {
235
this.error = false
236
this[obj] = val
0 commit comments