diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index fa55b04a6..8e1a787e0 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -139,6 +139,11 @@ textarea,
color: var(--muted-text-color);
}
+.form-group.disabled {
+ opacity: 0.5;
+ pointer-events: none;
+}
+
/* Add a gap between consecutive radios / check boxes */
label.tn-radio + label.tn-radio,
label.tn-checkbox + label.tn-checkbox {
diff --git a/apps/client/src/widgets/react/FormGroup.tsx b/apps/client/src/widgets/react/FormGroup.tsx
index ff972d49c..513594dfa 100644
--- a/apps/client/src/widgets/react/FormGroup.tsx
+++ b/apps/client/src/widgets/react/FormGroup.tsx
@@ -7,11 +7,12 @@ interface FormGroupProps {
className?: string;
children: ComponentChildren;
description?: string | ComponentChildren;
+ disabled?: boolean;
}
-export default function FormGroup({ label, title, className, children, description, labelRef }: FormGroupProps) {
+export default function FormGroup({ label, title, className, children, description, labelRef, disabled }: FormGroupProps) {
return (
-