Hi,
I need to validate File extension based on extension in Angular?
For example, I need to allow only PDF files.
Please help
Refer this article
Similar way, you can change the extension to PDF
<input type="file" accept=".pdf" />
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.