Scheduling infrastructure for absolutely everyone.
fix: handling of defaultLabel (#17976)
Alex van Andela31d14076129
diff --git a/packages/features/form-builder/FormBuilder.tsx b/packages/features/form-builder/FormBuilder.tsxindex 4c3cb995b91..d95b6e61ea4 100644--- a/packages/features/form-builder/FormBuilder.tsx+++ b/packages/features/form-builder/FormBuilder.tsx@@ -714,7 +714,7 @@ function FieldLabel({ field }: { field: RhfFormField }) {<spandangerouslySetInnerHTML={{// Derive from field.label because label might change in b/w and field.labelAsSafeHtml will not be updated.- __html: markdownToSafeHTMLClient(field.label || "") || t(field.defaultLabel || ""),+ __html: markdownToSafeHTMLClient(field.label || t(field.defaultLabel || "") || ""),}}/>);