'Failed prop type: Invalid prop `type` of type `symbol` supplied to `ForwardRef(InputBase2)`, expected `string`

Material UI TextField is causing this error. I have the prop of type set to password like this

type="password"

It is not working as it is not hiding the field in the browser and causing the error in the console. What is this type "Symbol" anyways



Solution 1:[1]

Solved it! the prop "InputProp" was causing the issue. if it's null, it causes that issue. I was dynamically setting it so it was null at some points

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Kaitou