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

#226 - restrict accepted mimetype #1242

Closed

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

@@ -88,8 +87,7 @@ function LabelInput(props) {
function Help(props) {
const { help } = props;
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