We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ebefa6 commit 1cfb0e8Copy full SHA for 1cfb0e8
src/components/quasar-jsonform/util/composition.ts
@@ -114,8 +114,8 @@ export const useQuasarControl = <
114
};
115
116
// console.log('input.control.value.data', input.control.value.data)
117
- if (isEmpty(input.control.value.data)) {
118
- input.handleChange(input.control.value.path, input.control.value.schema.default || undefined)
+ if (isEmpty(input.control.value?.data)) {
+ input.handleChange(input.control.value?.path, input.control.value?.schema?.default || undefined)
119
// console.log('trigger default', input.control.value.schema.default || null)
120
}
121
0 commit comments