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
I can provide more detailed description if desired, but my basic understanding of the problem is that
Nav and CaseTable respond to Reset button because they directly reference data via value.caseData.evaluatorName and value.caseData.case.charges
ClientInfoTable and other views do not respond to Reset button because they use local variables via
const [dob, setDob] = useState(value.caseData.client.dob);
One solution involves removing the use of useState and setting the value of a field like
value={value.caseData.evaluatorName}
rather than
value={name}
There might be other solutions that connect useState to useContext.
Not sure yet, still investigating.
No description provided.
The text was updated successfully, but these errors were encountered: