Skip to content

Fixed support for "additionalProperties"#1085

Closed
EasyTuan wants to merge 1 commit intorjsf-team:masterfrom
EasyTuan:master
Closed

Fixed support for "additionalProperties"#1085
EasyTuan wants to merge 1 commit intorjsf-team:masterfrom
EasyTuan:master

Conversation

@EasyTuan
Copy link
Copy Markdown

Checklist

  • I'm adding or updating code
    • I've added and/or updated tests
  • I'm adding a new feature
    • I've updated the playground with an example use of the feature

Details

I fixed the bug of the original property 'additionalProperties' and can support the delete function to beautify the style.

image

);

expect(labels).eql(["baz", "bar", "qux", "foo"]);
expect(labels).eql([]);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You're probably added a bug if you change that test

it("should render a label for the additional property key", () => {
const { node } = createFormComponent({
schema,
formData: { first: 1 },
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

tests should not be deleted except if the feature has been removed completely

@aerfio
Copy link
Copy Markdown
Contributor

aerfio commented Dec 7, 2018

@EasyTuan hi, what's the status? Do you plan to keep on working on this PR? Can we help somehow? 😄

@glasserc
Copy link
Copy Markdown
Contributor

Closing in favor of #1123.

@glasserc glasserc closed this Jan 10, 2019
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.

4 participants