Skip to content

Comments

#226 - restrict accepted mimetype#1242

Closed
gr8pathik wants to merge 3 commits intorjsf-team:masterfrom
gr8pathik:226-restrict-accepted-mimetype
Closed

#226 - restrict accepted mimetype#1242
gr8pathik wants to merge 3 commits intorjsf-team:masterfrom
gr8pathik:226-restrict-accepted-mimetype

Conversation

@gr8pathik
Copy link
Contributor

Reasons for making this change

  • Added a feature to support accepted mime type in file widget

If this is related to existing tickets, include links to them as well.
#226 - Restrict accepted mimetypes in file widget

Checklist

  • I'm updating documentation
  • I'm adding or updating code
    • I've added and/or updated tests
    • I've updated docs if needed
    • I've run npm run cs-format on my branch to conform my code to prettier coding style
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

if (!help) {
// See #312: Ensure compatibility with old versions of React.
return <div />;
return null;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you make these changes (returning null instead of <div>'s) in a separate PR?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

returning null instead of <div>'s PR is already merged. I dont know why this commits is showing here. Will remove that commits.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bit messed up with the reverting part. So creating new PR #1246. Please delete this PR if possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants