diff --git a/src/components/Form.js b/src/components/Form.js index bf4471a2d..957d8a63f 100644 --- a/src/components/Form.js +++ b/src/components/Form.js @@ -108,7 +108,7 @@ export default class Form extends Component { if (form !== nextProps.form) { this.createPromise = new (this.props.formioform || FormioForm)(this.element, nextProps.form, options).ready.then(formio => { this.formio = formio; - this.formio.form = form; + this.formio.form = nextProps.form; }); this.initializeFormio(); }