diff --git a/src/Form.js b/src/Form.js index 4a2d88c9b3..e9b23d762e 100644 --- a/src/Form.js +++ b/src/Form.js @@ -378,7 +378,9 @@ export default class Form extends Element { this.form.display = display; this.instance.destroy(); this.instance = this.create(display); - return this.setForm(this.form); + return this.setForm(this.form).then(() => { + this.instance.emit('setDisplay', this.form.display) + }); } empty() {