Skip to content

Commit

Permalink
Merge pull request #74 from kantuni/patch-5
Browse files Browse the repository at this point in the history
Add autocomplete attribute to resolve console warning
  • Loading branch information
ryan-haskell committed Apr 19, 2023
2 parents 7f9b08e + 2538078 commit cfdb19d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/05-user-auth/src/Pages/SignIn.elm
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ viewFormInput options =
[ ( "is-danger", options.error /= Nothing )
]
, Attr.type_ (fromFieldToInputType options.field)
, Attr.autocomplete True
, Attr.value options.value
, Html.Events.onInput (UserUpdatedInput options.field)
]
Expand Down

0 comments on commit cfdb19d

Please sign in to comment.