User info encType or method error #112

Closed
opened 2026-06-03 14:00:29 +00:00 by KattisLej · 0 comments
KattisLej commented 2026-06-03 14:00:29 +00:00 (Migrated from github.com)

Describe the bug

When visiting the User Info in the application there comes up an error in the console/Next developer panel

Steps to reproduce

Visit the user info from the navigation.

Environment

In Chrome and Firefox browser on Ubuntu.

Expected behavior

  • No console issue

Screenshots

Image

Additional information

Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden.
src/app/components/UserInfo.tsx (56:15) @ UserInfo


  54 |               <h4 className="h5 mb-3">Crypt4gh public encryption key</h4>
  55 |
> 56 |               <form method="POST" action={formAction}>
     |               ^
  57 |                 {pemChecksum ? (
  58 |                   <Alert
  59 |                     type="success"
## Describe the bug When visiting the User Info in the application there comes up an error in the console/Next developer panel ## Steps to reproduce Visit the user info from the navigation. ### Environment In Chrome and Firefox browser on Ubuntu. ## Expected behavior - [ ] No console issue ## Screenshots <img width="2534" height="1209" alt="Image" src="https://github.com/user-attachments/assets/57687901-d247-4d96-9083-9883622f6ad7" /> ## Additional information ``` Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden. src/app/components/UserInfo.tsx (56:15) @ UserInfo 54 | <h4 className="h5 mb-3">Crypt4gh public encryption key</h4> 55 | > 56 | <form method="POST" action={formAction}> | ^ 57 | {pemChecksum ? ( 58 | <Alert 59 | type="success" ```
Sign in to join this conversation.
No description provided.