Merge pull request #857 from frappe/mergify/bp/main-hotfix/pr-856
fix: set default value as empty array (backport #856)
This commit is contained in:
commit
fc5223f258
@ -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