`multiple` with `customRequest`
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- react, typescript
- 領域
- frontend
調査の方向性
Upload コンポーネントの customRequest パスから始め、選択された各ファイルが callback にどのように渡されるかを確認します。複数選択で 1 つの配列を渡すべきか、ファイルごとのリクエストを維持すべきかを明確にし、選択した動作のカバレッジを追加して、選択されたすべてのファイルがまとめて処理されることを検証します。
索引モデルが issue の本文から書いたものです。
説明
Hi, i'm trying to allow multiple files upload with customRequest.
const foo = (file) => {
console.log(file);
};
<Upload
multiple
customRequest={foo}
...
My issue is that file is being logged once per file instead of receiving an array of files as a native file input would do.
Do you know anyway around this? If not I would need to add these files to state and somehow determine when no more files and only then trigger the request... which is not desired.
Thanks!
- 主要言語
- TypeScript
- スター
- 804
- フォーク
- 323
- 平均マージ
- 12分
- マージ済み PR(30日)
- 1
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
react-component/upload のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
react-component/upload#170 ·
-
HVAC website オープン
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
react-component/upload#697 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 15/100
react-component/upload#615 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
react-component/upload#522 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
react-component/upload#515 ·
react-component/upload の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
calcite-components needs triage refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Esri/calcite-design-system#15203 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
danielmiessler/LifeOS#2218 ·