Geek-Collectors-Network / geek-collectors-network

0 stars 2 forks source link

Account Info Error: "A component is changing an uncontrolled input to be controlled." #166

Open FoRVaiS opened 7 months ago

FoRVaiS commented 7 months ago

Description

First encountered in AccountInfo.tsx page, simply entering text into the password field will log this to console.

Warning: A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components

Expected Behaviour

Entering data into the password should not emit any errors in console

Actual Behaviour

Error in description emitted.

Steps to Reproduce

  1. Navigate to Account Info page
  2. Enter text in password field