Skip to content

Warning: A component is changing an uncontrolled input of type text to be controlled.... #10681

@ryanml

Description

@ryanml

An occurring React component error within the NetworkForm component

Steps to reproduce

  1. Open the Network Dropdown
  2. Select Custom RPC
  3. Paste a value in to the RPC URL or chain ID field
  4. Notice the following in the React console:
backend.js:32 Warning: A component is changing an uncontrolled input of type text to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components
    in input (created by ForwardRef(InputBase))
    in div (created by ForwardRef(InputBase))
    in ForwardRef(InputBase) (created by WithStyles(ForwardRef(InputBase)))
    in WithStyles(ForwardRef(InputBase)) (created by ForwardRef(Input))
    in ForwardRef(Input) (created by 
...

Expected behavior
No React Errors

Metadata

Metadata

Assignees

Labels

type-bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions