html - 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">
解决方案
推荐阅读
- excel - VBA根据单元格值更改行颜色
- solr - Hue Solr 搜索运行缓慢
- sql - sql server中基于ID的concat字符串
- scala - 比较 DF 结构数组 spark 中的值
- browser - android 默认浏览器是否支持 service worker?
- python-3.x - Visual Studio 代码上的 Python AutoIndent
- virtualization - 使用 Proxmox API 获取 CPU 型号名称
- jquery - 如何禁用 jqueryUI menu() 小部件的悬停行为并添加一个单击事件?
- wix - 如何在设置验证期间从合并的“Microsoft_VC141_CRT_x64.msm”中提取 MSVC rutime 库
- html - 具有第二列动态宽度和省略号的固定宽度表