Skip to content

Commit

Permalink
fix(proxiedModel): count undefined prop value as present
Browse files Browse the repository at this point in the history
fixes #15203
  • Loading branch information
KaelWD committed Jul 6, 2022
1 parent 9cb7ca5 commit 7bbbe04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vuetify/src/composables/proxiedModel.ts
Expand Up @@ -20,8 +20,8 @@ export function useProxiedModel<
const vm = getCurrentInstance('useProxiedModel')

const propIsDefined = computed(() => {
void props[prop]
return !!(
typeof props[prop] !== 'undefined' &&
(vm?.vnode.props?.hasOwnProperty(prop) || vm?.vnode.props?.hasOwnProperty(toKebabCase(prop)))
)
})
Expand Down

0 comments on commit 7bbbe04

Please sign in to comment.