From 96c37127f9fb236008190b688b7487041adc03c4 Mon Sep 17 00:00:00 2001 From: Sebastian Leidig Date: Tue, 2 Jul 2024 15:30:50 +0200 Subject: [PATCH] fix(public forms): show loading until form is ready to avoid errors --- .../public-form/public-form.component.html | 50 +++++++++++-------- 1 file changed, 29 insertions(+), 21 deletions(-) diff --git a/src/app/features/public-form/public-form.component.html b/src/app/features/public-form/public-form.component.html index a3652e7d43..b284ea67bf 100644 --- a/src/app/features/public-form/public-form.component.html +++ b/src/app/features/public-form/public-form.component.html @@ -3,25 +3,33 @@ {{ formConfig?.title }} {{ formConfig?.description }} - - - - - - - + + @if (formConfig && form) { + + + + + + + + + } @else { + +

Loading form ...

+
+ }