1
0
forked from test/crm

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:
Shariq Ansari 2025-05-23 21:31:44 +05:30 committed by GitHub
commit fc5223f258
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)