pricelist: Fixed wrong default value for modelValue

This commit is contained in:
Ferdinand Thiessen 2021-04-22 23:14:11 +02:00
parent 95867428a8
commit 8b6c400689
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ export default defineComponent({
props: {
modelValue: {
type: Object as PropType<Search>,
default: { value: '', key: undefined, label: '' },
default: () => ({ value: '', key: undefined, label: '' }),
},
keys: {
type: Object as PropType<Array<Col>>,