Skip to content

Commit

Permalink
chore(dashboard): autocapitalize off on password input
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud AMBROSELLI committed Sep 27, 2023
1 parent 4e72227 commit 9b96ae1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dashboard/src/components/PasswordInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const PasswordInput = ({ className, showPassword, setShowPassword, type, ...prop
<input
className={[className, '!tw-mb-0', showPassword ? 'show-password' : 'hide-password'].join(' ')}
type={type || showPassword ? 'text' : 'password'}
autocapitalize="off"
{...props}
/>
<EyeIcon strikedThrough={showPassword} onClick={() => setShowPassword(!showPassword)} className="tw-absolute tw-right-4 tw-mb-auto" />
Expand Down

0 comments on commit 9b96ae1

Please sign in to comment.