I am in the process of learning React - I am having an issue where the values when running conditional returns appear to still be visible on screen.
Example: Go to the Room Button, select a room and a user then go to the User Button or Location Button and the values still appear to be visible/selected - although they are not.
I had seen a similar post to this, however could not seem to get it working. I have tried resetForm() setFieldValue
I have created a codesandbox with what I am using below. There may be a better way to do this also...
https://codesandbox.io/s/floral-leftpad-vhfi0
I would appreciate any feedback/hints or tips what or where I am going wrong!
Thanks,