Skip to content

Commit

Permalink
We should not generate an empty array list if nothing is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
Rani committed May 4, 2022
1 parent 8e3868c commit 691f08c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/test/ArrayField_test.js
Expand Up @@ -1043,7 +1043,7 @@ describe("ArrayField", () => {
submitForm(form.node);

sinon.assert.calledWithMatch(form.onSubmit.lastCall, {
formData: { multipleChoicesList: [] },
formData: {},
});

form = createFormComponent({
Expand Down

0 comments on commit 691f08c

Please sign in to comment.