What controls browser file masking in file upload?
I notice that when I add ->acceptFileTypes([{list of mimetypes}]) to a form, the popup in my browser 'masks' the files shown saying 'Custom Files' in the dropdown. However, the mime-type I need for laravel for the file type I'm uploading (a ttf font) doesn't seem to be including the .ttf extension in the files shown by the browser's file popup. Is there a way to control that file mask somewhere?
0 Replies