fix: set default value as empty array
(cherry picked from commit b95a17a4e0454268e76f70039a2171bc3f51ba59)
This commit is contained in:
parent
d6397114b3
commit
b820e34548
@ -64,7 +64,10 @@ const emit = defineEmits(['change'])
|
||||
|
||||
const { getFields } = getMeta(props.doctype)
|
||||
|
||||
const values = defineModel()
|
||||
const values = defineModel({
|
||||
type: Array,
|
||||
default: () => [],
|
||||
})
|
||||
|
||||
const valuesRef = ref([])
|
||||
const error = ref(null)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user