SyntaxFix
Write A Post
Hire A Developer
Questions
A neater way of applying @Helzgate's reply is possibly to replace your 'for .. in' with
for (const field of Object.keys(this.formErrors)) {