adopted-ember-addons / adopted-ember-addons/emberx-file-input

Will FileList object get parsed as an array?

未關閉
#56 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
50
分支
14
PR 合併指標
30 天內沒有已合併 PR

描述

It looks like https://github.com/thefrontside/emberx-file-input/blob/951431e65cb38b2ed5032e25868e9f407ea9f766/tests/dummy/app/templates/application.hbs#L32 may no longer work without first transforming the `FileList` into an array.

Ex: `Array.from(multiFiles)` .

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Start at tests/dummy/app/templates/application.hbs around the linked line 32 and inspect how multi-file input data is passed through. Reproduce the FileList case in the dummy app or existing tests, then check whether converting with Array.from(multiFiles) is needed. Done means the FileList parsing path works as an array where the template expects it.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
handlebars, javascript
領域
frontend
Issue 類型
缺陷
難度
2/5
預估耗時
1-3 小時
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。