Skip to content

Commit

Permalink
fix(react-ui-kit): Adjust the behavior of eye icon on password input …
Browse files Browse the repository at this point in the history
…(WPB-15930) (#6878)
  • Loading branch information
thisisamir98 authored Feb 3, 2025
1 parent 8c1702c commit 6ecfa54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-ui-kit/src/Form/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps<HTMLInputElem
aria-controls={props.id}
aria-expanded={togglePassword}
>
{togglePassword ? <HideIcon /> : <ShowIcon />}
{togglePassword ? <ShowIcon /> : <HideIcon />}
</button>
)}
</div>
Expand Down

0 comments on commit 6ecfa54

Please sign in to comment.