Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added accept values to filter selectable files by type or extension on file select #53

Merged
merged 3 commits into from
Jun 29, 2019

Conversation

jankapunkt
Copy link
Collaborator

This PR introduces upload template configurations, specifically accept. It allows to filter the files in the file browser window by type. It uses an HTML standard of file input specifiers to achieve this.

Backward compatibility has been tested and is granted for the internal upload template and custom templates that don't use the accept flag. If you use custom templates and also use the accept template you will have to explicitly check for progress file and status in your custom template because this will never be falsey as it contains the {config: { accept } } property then.

The README is updated respectively.

@jankapunkt jankapunkt mentioned this pull request May 22, 2019
@dr-dimitru dr-dimitru merged commit 78ff914 into master Jun 29, 2019
dr-dimitru added a commit that referenced this pull request Jun 29, 2019
- 📦 Dependencies update
- 👷‍♂️ Merge #48, thanks to @pfmziota and @jankapunkt
- 👷‍♂️ Merge #53, introducing `accept` option/field, thanks to
@jankapunkt
- 👨‍💻 Minor codebase enhancements
- 📋 Documentation update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants