I’m looking for a way to restrict file uploads to pdf only.
I can’t restrict the file type upload directly but I thought I could prevent the submission of a new item if it wasn’t a pdf by doing this:
When adding a new item…
The file picker is the first item on the screen and the rest of the required components are only visible if the uploaded file is a pdf.
But even though the file type chosen is something different and there are required components that have not been selected you can still click the “Add” to submit the new item.
Is there a workaround?