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
Warning: You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.
Since React shows a warning for it, maybe there can be a lint rule for it too? To guide developers towards either:
usage of onChange or readOnly props with checked prop on an input
usage of defaultChecked for uncontrolled components