fix: Autocomplete in grid should set string
This commit is contained in:
parent
19c69d1495
commit
5fc0ca9bf0
@ -275,7 +275,7 @@
|
||||
v-else-if="field.fieldtype === 'Autocomplete'"
|
||||
class="text-sm text-ink-gray-8"
|
||||
v-model="row[field.fieldname]"
|
||||
@change="(s) => fieldChange(s.value, field, row)"
|
||||
@change="(v) => fieldChange(typeof v == 'object' ? v.value : v, field, row)"
|
||||
:options="field.options"
|
||||
:placeholder="field.placeholder"
|
||||
:disabled="Boolean(field.read_only)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user