Skip to content

Commit 3a4f2b9

Browse files
committed
no need to check props?.schema?.properties
1 parent 81c81db commit 3a4f2b9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/vue-vuetify/src/util/composition.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -491,11 +491,7 @@ export const determineClearValue = (
491491
) => {
492492
const { uischema } = props;
493493

494-
if (
495-
!isScoped(uischema) ||
496-
props.schema?.type !== 'object' ||
497-
typeof props?.schema?.properties !== 'object'
498-
) {
494+
if (!isScoped(uischema) || props.schema?.type !== 'object') {
499495
return defaultValue;
500496
}
501497

0 commit comments

Comments
 (0)