Here’s more information on the issue Ian and Juliet found this week:
Fixed OCLOMRS-878, issue where validation messages weren’t being cleared on the concept form: fixed that specific issue, but might indicate not just a single form-specific issue, but a design issue.
Error messages are stored in the global store for OCLOMRS, so if they aren’t explicitly cleared, they persist and will show on the next form.
Need to carefully review the other forms in OCLOMRS for exactly the same issue and ensure we have a proper pattern for dealing with it: there are four forms in OCL for OpenMRS, but they all seem to use the same pattern of storing errors
Likely means we need to add a simple React hook to reset the form state when the form is recreated
Rule of thumb: If it’s not clear to the user what happened, or why, then the user experience is unclear. Thus, I completely agree, that is definitely not good UX There is a ticket for this, and some similar issues. Have a look at these @tendomart and please always feel welcome to create similar tickets if you notice issues like this in the future, and also, please feel free to pick up these tickets if no one has already claimed them. We need to resolve these at some point.