Skip to content

Commit

Permalink
Fixed capitilization of autoComplete prop (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewmw5 authored Dec 12, 2022
1 parent d6a2078 commit 3d7e9fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default function UpdatePasswordForm({ className }) {
handleChange={(e) => setData('current_password', e.target.value)}
type="password"
className="mt-1 block w-full"
autocomplete="current-password"
autoComplete="current-password"
/>

<InputError message={errors.current_password} className="mt-2" />
Expand All @@ -73,7 +73,7 @@ export default function UpdatePasswordForm({ className }) {
handleChange={(e) => setData('password', e.target.value)}
type="password"
className="mt-1 block w-full"
autocomplete="new-password"
autoComplete="new-password"
/>

<InputError message={errors.password} className="mt-2" />
Expand All @@ -88,7 +88,7 @@ export default function UpdatePasswordForm({ className }) {
handleChange={(e) => setData('password_confirmation', e.target.value)}
type="password"
className="mt-1 block w-full"
autocomplete="new-password"
autoComplete="new-password"
/>

<InputError message={errors.password_confirmation} className="mt-2" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default function UpdateProfileInformation({ mustVerifyEmail, status, clas
handleChange={(e) => setData('name', e.target.value)}
required
autofocus
autocomplete="name"
autoComplete="name"
/>

<InputError className="mt-2" message={errors.name} />
Expand All @@ -56,7 +56,7 @@ export default function UpdateProfileInformation({ mustVerifyEmail, status, clas
value={data.email}
handleChange={(e) => setData('email', e.target.value)}
required
autocomplete="email"
autoComplete="email"
/>

<InputError className="mt-2" message={errors.email} />
Expand Down

0 comments on commit 3d7e9fd

Please sign in to comment.