diff --git a/.changeset/lemon-eyes-walk.md b/.changeset/lemon-eyes-walk.md new file mode 100644 index 00000000..82c82ef5 --- /dev/null +++ b/.changeset/lemon-eyes-walk.md @@ -0,0 +1,7 @@ +--- +'@supabase/auth-ui-svelte': patch +'@supabase/auth-ui-react': patch +'@supabase/auth-ui-solid': patch +--- + +fix: update password placeholder prop diff --git a/packages/react/src/components/Auth/interfaces/UpdatePassword.tsx b/packages/react/src/components/Auth/interfaces/UpdatePassword.tsx index c977739d..8a4f9236 100644 --- a/packages/react/src/components/Auth/interfaces/UpdatePassword.tsx +++ b/packages/react/src/components/Auth/interfaces/UpdatePassword.tsx @@ -41,7 +41,7 @@ function UpdatePassword({ ) => diff --git a/packages/solid/src/components/Auth/interfaces/UpdatePassword.tsx b/packages/solid/src/components/Auth/interfaces/UpdatePassword.tsx index 17cd3b42..17607de8 100644 --- a/packages/solid/src/components/Auth/interfaces/UpdatePassword.tsx +++ b/packages/solid/src/components/Auth/interfaces/UpdatePassword.tsx @@ -47,7 +47,9 @@ function UpdatePassword(props: { id="password" name="password" autofocus - placeholder={props.i18n?.update_password?.password_label} + placeholder={ + props.i18n?.update_password?.password_input_placeholder + } type="password" onkeyup={(e) => setPassword(e.currentTarget.value)} appearance={props.appearance} diff --git a/packages/svelte/src/lib/Auth/interfaces/UpdatePassword.svelte b/packages/svelte/src/lib/Auth/interfaces/UpdatePassword.svelte index 24ef10af..a407e152 100644 --- a/packages/svelte/src/lib/Auth/interfaces/UpdatePassword.svelte +++ b/packages/svelte/src/lib/Auth/interfaces/UpdatePassword.svelte @@ -45,14 +45,16 @@ type="password" name="password" autofocus - placeholder={i18n?.update_password?.password_label} + placeholder={i18n?.update_password?.password_input_placeholder} bind:value={password} autocomplete="password" {appearance} />