relationship contact selection lost on form validation
to reproduce:
- go to a contact's relationship tab and click to create a new relationship
- select a relationship type and select a contact
- add an end date and start date where the end date is prior to the start date. this will trigger a form validation error.
- submit the form
The error is thrown but the previously selected contact is lost. An examination of the console shows that the value of the selected contact(s) is still present, but it doesn't appear in the UI and will throw a validation error if you try to resubmit the form.