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

Fixes #824 #1147

Merged
merged 3 commits into from
Jan 22, 2019
Merged

Fixes #824 #1147

merged 3 commits into from
Jan 22, 2019

Conversation

jorgerobles
Copy link
Contributor

Reasons for making this change

See Issue #824, made name not required.

Checklist

  • I'm updating documentation
    • I've checked the rendering of the Markdown text I've added
    • If I'm adding a new section, I've updated the Table of Content
  • 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

@jorgerobles
Copy link
Contributor Author

Just a regex tweak.

@epicfaace
Copy link
Member

epicfaace commented Jan 21, 2019

Thanks @jorgerobles, good work 😀-- can you add a test as you did in https://github.com/mozilla-services/react-jsonschema-form/pull/967/files? Probably it should involve making a custom widget which collects only the data uri, not the name.

@jorgerobles
Copy link
Contributor Author

jorgerobles commented Jan 21, 2019 via email

@edi9999
Copy link
Collaborator

edi9999 commented Jan 22, 2019

It would be better indeed to have a regression test.

errors = result.errors;
});

it("Both should be fine", () => {
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for the test -- don't mean to be nitpicky, but it would really be great and cleaner if you could have separate it functions for the dataUrlWithName and a test case for dataUrlWithoutName.

@glasserc glasserc merged commit 2ccfa7e into rjsf-team:master Jan 22, 2019
@glasserc
Copy link
Contributor

Thanks!

KeroVieux added a commit to KeroVieux/react-jsonschema-form that referenced this pull request Jan 25, 2019
* 'master' of github.com:KeroVieux/react-jsonschema-form:
  updated
  replace submit button paragraph tag with div (rjsf-team#766)
  Fixes rjsf-team#824 (rjsf-team#1147)
  Fix bug where matching anyOf branch is not selected correctly (rjsf-team#1129)
  Document a gotcha with `additionalProperties` (rjsf-team#1149)
  doc: add permalinks and fix internal hyperlinks in documentation
  doc: add doc build instructions, update PR/issue templates with doc links
  Add onBlur and onFocus events for radio and checkbox widgets (rjsf-team#1143)
  add ui:help tips (rjsf-team#1145)
  doc: fix browserstack logo size
  docs: remove docs from README and link to readthedocs rjsf-team#1138
  doc: organize docs into separate files rjsf-team#1138
  doc: add browserstack logo rjsf-team#990
  Add test and update documentation for using anyOf inside array items (rjsf-team#1131)

# Conflicts:
#	src/components/Form.js
LucianBuzzo pushed a commit that referenced this pull request Feb 7, 2019
* Fixes #824

* Added test

* Separated tests
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.

4 participants