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
Current Behavior
I'm trying to use FastField with material-ui to avoid unnecessary re-render. A checkbox's and a radio button's initial value are being set, but neither the checkbox nor the radio button display the correct initial status. The following code sandbox link shows that Field works but FastField doesn't. Is there something I miss?
Expected behavior
The checkbox and radio button are supposed to display correctly with corresponding initial value.
I kinda figured out myself. The field that FastField provides doesn't contain 'checked' property, however, the regular Field does.
So my workaround is calculate the value of 'checked' property on my own.
❓Question
Current Behavior
I'm trying to use FastField with material-ui to avoid unnecessary re-render. A checkbox's and a radio button's initial value are being set, but neither the checkbox nor the radio button display the correct initial status. The following code sandbox link shows that Field works but FastField doesn't. Is there something I miss?
Expected behavior
The checkbox and radio button are supposed to display correctly with corresponding initial value.
Reproducible example
https://codesandbox.io/s/focused-currying-83dbw?file=/src/App.js
The text was updated successfully, but these errors were encountered: