I am very grateful of the recent update where users can edit existing data in Survey123 webform - thank you for this cool feature!
Below is an example URL we use to open the survey. This works well most of the time. .
https://survey123.arcgis.com/share/[item id]?version=latest&mode=edit&objectId=[some object ID]
However, if the existing record has an attachment, when I open the form it will look like this - image question already answered. If I edit some other questions and submit, it errors out with "cannot read property indexof undefined" error. Only way to avoid the error message is to remove the attachment. I wonder if anyone else had this issue and there is a fix for it.