Skip to content

Commit

Permalink
[@mantine/core] PasswordInput: Fix `visibilityToggleButtonProps.varia…
Browse files Browse the repository at this point in the history
…nt` prop being ignored (#7144)
  • Loading branch information
pfo-omicsstudio authored Nov 23, 2024
1 parent bad9bc5 commit b78faa0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export const PasswordInput = factory<PasswordInputFactory>((_props, ref) => {
aria-hidden={!visibilityToggleButtonProps}
tabIndex={-1}
{...visibilityToggleButtonProps}
variant="subtle"
variant={visibilityToggleButtonProps?.variant ?? 'subtle'}
color="gray"
unstyled={unstyled}
onTouchEnd={(event) => {
Expand Down

0 comments on commit b78faa0

Please sign in to comment.