首页 > 解决方案 > accept input type="file" property doesn't work with custom type

问题描述

Any solution to upload custom mime types usign HTML5 ? the examples below don't work

<input type="file" (change)="fileChange($event)" accept=".pf12,.pfx">
<input type="file" (change)="fileChange($event)" accept="*.pf12,*.pfx">

标签: html

解决方案


推荐阅读