Allow to reject user selection based on the callback function

Open
#203 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

No file, test, or entry point is named in the issue. Start by locating the TypeScript/React code that handles file selection, then determine how a callback could accept or reject one selection and how rejection is surfaced; done means the stated maximum-10-files use case is supported.

Written by the indexing model from the issue text.

Description

Issue type: feature request.

Feature: Allow to pass custom callback that will be executed once after file(s) were selected by the user to determine if the selection was accepted.

Use case: reject files selection and show notification based on the number of files that were selected (max 10 at once).

Dominant language
TypeScript
Stars
804
Forks
323
Avg merge
12m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from react-component/upload

All issues in react-component/upload

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.