I have a number of controls on a screen which are running an update patch after selecting the item from a gallery on another screen.
My initial patch works fine however when I then go to update I get a "Network error when using patch function: An error occured on the server".
When I have gone back into look at a couple of my dropdowns it is putting an extra option in the control which I assume is what it's patched and it's unable to update the record as that 'option' doesn't appear in the choices for that sharepoint list. However it has originally patched the correct value. See screenshots to explain below
Result of accident dropdown has 3 values, Yes, No and blank
I select Yes and select Save and close which successfully patches
However the dropdown now shows 2 Yes values, the bottom one selected being the value that has patched. but now If I click my save and close button the patch fails with the network error
The defaultselecteditems of the dropdown is: {Value: DefectHomeGal.Selected.RelatedAccident}
The patch function is as follows with the drop down in question being DefectDetailDrpAccident