pingdotgg / uploadthing

File uploads for modern web devs
https://uploadthing.com
MIT License
4.26k stars 315 forks source link

feat: Specify allowed file extensions directly on component (allow user overload of accept field) #992

Closed raunakdoesdev closed 1 month ago

raunakdoesdev commented 1 month ago

Describe the feature you'd like to request

Allow user overload of accept field in the input component instead of pulling from MIME type.

Describe the solution you'd like to see

Add a prop to the UploadButton and other relevant components allowing the user to override the accept field generated from MIME types.

Additional information

No response

๐Ÿ‘จโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Contributing

juliusmarminge commented 1 month ago

When would this be useful? The check is gonna fail on server side anyway?

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had any activity for 10 days. It will be closed in 5 days if no further activity occurs.

github-actions[bot] commented 1 month ago

This issue has been closed because it has not had any activity for 5 days since being marked as stale.