Forms : Expected 0 arguments, but got 1. Get link Facebook X Pinterest Email Other Apps November 30, 2020 Your "onSubmit()" method does not expect any arguments. But from your html you call it with one argument: "onSubmit(XXXXX)" remove the parameter from html just simply use onSubmit() Read more