I'm getting an error on a published form created in Survey123 Connect saying "Cannot read properties of undefined (reading 'on')".

The form is fine in Survey123 Connect but throws the error when viewing in browser. Is anyone else experiencing this or know what the problem might be?
Thanks