Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React - Uncaught SyntaxError: Identifier 'WBSAutoFillFormTypeUndetermined' has already been declared

Tags:

reactjs

getting this console error in React dev environment... I see some similar questions but I am not seeing a question with this exact same message. trying to pinpoint where this is coming from - any tips appreciated. thanks in advance!

content_script.js:1 Uncaught SyntaxError: Identifier 'WBSAutoFillFormTypeUndetermined' has already been declared

This error comes up inconsistently - sometimes when I load a component, sometimes not... can reproduce error inconsistently.

like image 549
Derek Avatar asked Dec 17 '22 11:12

Derek


1 Answers

FIRST ANSWER:

adjust the "autocomplete" parameter on the input tag. this was WRONG & didn't resolve the issue. https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete

CORRECT ANSWER:

this console error was coming from the Apple "iCloud Passwords" chrome plugin. I deactivated the plugin (which was useless anyway) & the errors disappeared.

like image 118
Derek Avatar answered Jun 15 '23 10:06

Derek