From 87540acfb35d3a4c0f13bf5f2d050210fca4a354 Mon Sep 17 00:00:00 2001 From: Ricardo van der Heijden <20791917+ricardovdheijden@users.noreply.github.com> Date: Fri, 22 Nov 2024 15:40:58 +0100 Subject: [PATCH] 1577 Fixes uncheckable checkbox (only the label was clickable) --- .changeset/happy-rivers-attend.md | 5 +++++ .../src/components/WfoForms/formFields/BoolFieldStyling.ts | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 .changeset/happy-rivers-attend.md diff --git a/.changeset/happy-rivers-attend.md b/.changeset/happy-rivers-attend.md new file mode 100644 index 000000000..95a789059 --- /dev/null +++ b/.changeset/happy-rivers-attend.md @@ -0,0 +1,5 @@ +--- +'@orchestrator-ui/orchestrator-ui-components': patch +--- + +1577 Fixes uncheckable checkbox (only the label was clickable) diff --git a/packages/orchestrator-ui-components/src/components/WfoForms/formFields/BoolFieldStyling.ts b/packages/orchestrator-ui-components/src/components/WfoForms/formFields/BoolFieldStyling.ts index 33e036a8a..f6d846a43 100644 --- a/packages/orchestrator-ui-components/src/components/WfoForms/formFields/BoolFieldStyling.ts +++ b/packages/orchestrator-ui-components/src/components/WfoForms/formFields/BoolFieldStyling.ts @@ -12,10 +12,6 @@ export const boolFieldStyling = css` z-index: unset; } - input[type="checkbox"] { - display: none; - } - label { display: inline-block; margin: 3px 0;