TypeError in FormMetadata.js: null object error on iOS 17.5+ Safari

I'm encountering a TypeError in FormMetadata.js on Safari, primarily affecting iOS 17.5 and later versions. The error message is as follows:

TypeError: null is not an object (evaluating 'this._logicalFormForControl(e).formElement')

This issue seems to be specific to recent iOS versions, particularly on Safari. Has anyone else experienced this problem or have insights into what might be causing it? Any suggestions for potential workarounds or fixes would be greatly appreciated. Additional details:

Occurs consistently on iOS 17.5+ devices Mainly affects Safari browser Error is thrown in FormMetadata.js

Thank you in advance for any help or information you can provide.

I have the exact same issue on my react app, and I have absolutely no idea where it comes from.

Basically the app crashes as soon as the user clicks on an input that is for the first name. I would assume there's a link with the autofill.

TypeError in FormMetadata.js: null object error on iOS 17.5+ Safari
 
 
Q