I want to implement a file picker that would only upload image filetypes and hide the options button.
InputElement uploadInput = FileUploadInputElement();
uploadInput.accept = 'image/*'
uploadInput.click();
However, when selecting a file, the user can select the option > all files.
How do I hide the options button? In the mdn docs, when selecting a file, the options button is hidden. I want to do it just like that.