Skip to content

Commit

Permalink
fix text array values select
Browse files Browse the repository at this point in the history
  • Loading branch information
omohokcoj committed Mar 12, 2023
1 parent 6963fe0 commit 8de0fa5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/utils/components/minimal_select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,8 @@ export default {
if (value) {
this.selectedOptionsData = value.map((val) => {
return this.selectedOptionsData.find((option) => this.getValue(option).toString() === (val ?? '').toString()) ||
this.optionsData.find((option) => this.getValue(option).toString() === (val ?? '').toString())
this.optionsData.find((option) => this.getValue(option).toString() === (val ?? '').toString()) ||
{ value: val, label: val }
})
}
} else {
Expand Down

0 comments on commit 8de0fa5

Please sign in to comment.