Skip to content

Commit 0efe78d

Browse files
authored
fix(vue): Prevent boolean prop coercion for SignIn component props (#6935)
1 parent 69ca381 commit 0efe78d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.changeset/eight-horses-nail.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@clerk/vue": patch
3+
---
4+
5+
Fixed an issue where the `transferable` prop in the `<SignIn />` component was incorrectly defaulting to `false` due to Vue's boolean prop coercion.

packages/vue/src/components/ui-components/SignIn.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ import type { SignInProps } from '@clerk/types';
55
66
const clerk = useClerk();
77
8-
const props = defineProps<SignInProps>();
8+
const props = withDefaults(defineProps<SignInProps>(), {
9+
transferable: undefined,
10+
withSignUp: undefined,
11+
});
912
</script>
1013

1114
<template>

0 commit comments

Comments
 (0)