From 4b8fdbac06068b4f3512a88db672c6e869856373 Mon Sep 17 00:00:00 2001 From: Jonas Metzener Date: Fri, 8 Dec 2023 10:28:51 +0100 Subject: [PATCH] fix(build): fix embroider compatibility --- .../cfb-form-editor/question/default.hbs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/packages/form-builder/addon/components/cfb-form-editor/question/default.hbs b/packages/form-builder/addon/components/cfb-form-editor/question/default.hbs index 2e41fb60e..c905e6ef6 100644 --- a/packages/form-builder/addon/components/cfb-form-editor/question/default.hbs +++ b/packages/form-builder/addon/components/cfb-form-editor/question/default.hbs @@ -2,12 +2,16 @@ <@labelComponent />
- {{component - (get-widget this.field.question) - field=this.field - disabled=false - onSave=this.onUpdate + {{#let + (component (ensure-safe-component (get-widget this.field.question))) + as |QuestionComponent| }} + + {{/let}}
<@hintComponent />