Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanbond committed May 7, 2024
1 parent 2a36250 commit 1b5b070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default class Form extends Element {
else {
element = null;
form = elementOrForm;
formOptions = formOrOptions;
formOptions = formOrOptions || {};
}
if (Formio.options && Formio.options.form) {
formOptions = Object.assign(formOptions, Formio.options.form);
Expand Down

0 comments on commit 1b5b070

Please sign in to comment.