Max Size & File format validation in Angular HTML / TS

Discussão em 'Angular' iniciado por Simon MAYR, Março 27, 2025.

  1. Simon MAYR

    Simon MAYR Guest

    Im working on a file upload in an ASP.net webpage with angular and wanted to ask how to check if the uploaded file is a pdf or jpg and has max 2MB. If this isn't the case there should be a sipmle text which is shown and the file should not be uploaded / listed on the file list. Can i do this in Frontend / Ts?

    Continue reading...

Compartilhe esta Página