Skip to content
This repository was archived by the owner on Oct 23, 2025. It is now read-only.
This repository was archived by the owner on Oct 23, 2025. It is now read-only.

UpdatePassword view password input placeholder not showing #241

@ShreyaRavi

Description

@ShreyaRavi

Bug report

  • I confirm this is a bug with Supabase, not with my own application.
  • I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug

In the update_password view of the AuthUI, the placeholder used in the input for the new password is password_label rather than password_input_placeholder.

To Reproduce

Use the component

<Auth
    supabaseClient={supabase}
    view={'update_password'}
    providers={[]}
    socialLayout="vertical"
    theme="dark"
    localization={{
        variables: {
            update_password: {
                password_label: 'Password label',
                password_input_placeholder: 'Password placeholder',
            }
        },
    }}
/>

Expected behavior

You expect to see "Password label" above the input and "Password placeholder" in the input.

Screenshots

You see "Password label" both above and in the input.
image

System information

  • OS: [macOS]
  • Browser (if applies) [chrome]
  • Version of supabase-js: [e.g. ^2.38.0]
  • Version of Node.js: [e.g. 10.10.0]

Additional context

The solution is to update this line https://github.com/supabase/auth-ui/blob/19e380253000b867dc1bf71af7084bfbb1d53fb7/packages/react/src/components/Auth/interfaces/UpdatePassword.tsx#L44

and change labels?.password_label to labels?.password_input_placeholder

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions