I have a single input to upload a image.
html
change this.imageInput.addEventListener("change", this.uploadImage()); to this.imageInput.addEventListener("change", this.uploadImage); ( removed the () after this.uploadImage ).
this.imageInput.addEventListener("change", this.uploadImage());
this.imageInput.addEventListener("change", this.uploadImage);