Skip to content

Commit

Permalink
fix(clerk-js): Add localization for password input in SignInFactorOne…
Browse files Browse the repository at this point in the history
…PasswordCard component (#1909)

* fix(clerk-js): Add localization for password input in SignInFactorOnePasswordCard

* chore(repo): Adds changeset
  • Loading branch information
octoper authored Oct 18, 2023
1 parent 6576ac4 commit d78bd84
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/olive-pants-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/clerk-js': patch
---

Added `formFieldInputPlaceholder__password` to the placeholder of the password input in the `<SignInFactorOnePasswordCard/>` component
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ const usePasswordControl = (props: SignInFactorOnePasswordProps) => {
const passwordControl = useFormControl('password', '', {
type: 'password',
label: localizationKeys('formFieldLabel__password'),
placeholder: localizationKeys('formFieldInputPlaceholder__password'),
});

return {
Expand Down

0 comments on commit d78bd84

Please sign in to comment.