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 6e3d716 commit a05bad3
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 a05bad3

Please sign in to comment.