You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case this is due to an implementation error in https://github.com/mui-org/material-ui let me know and i will create an issue there.
But since it is working fine in react 16 i think it's rather a preact issue.
Note: Changing defaultValue to "value" works, but then obviously one would have to manage the state, which defeats the purpose of defaultValue (fast typing)
The text was updated successfully, but these errors were encountered:
The defaultValue is still not populating, and if using value; getting warning
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
I noticed a difference in Render output (react vs preact) when using https://github.com/mui-org/material-ui Textfield.
In case this is due to an implementation error in https://github.com/mui-org/material-ui let me know and i will create an issue there.
But since it is working fine in react 16 i think it's rather a preact issue.
Preact tested: "preact": "^10.5.11",
React tested: "react": "^16.14.0",
Note: Changing defaultValue to "value" works, but then obviously one would have to manage the state, which defeats the purpose of defaultValue (fast typing)
The text was updated successfully, but these errors were encountered: