diff --git a/src/core/InputCheckbox/index.tsx b/src/core/InputCheckbox/index.tsx index cf5ffbccf..1a8ae7da9 100644 --- a/src/core/InputCheckbox/index.tsx +++ b/src/core/InputCheckbox/index.tsx @@ -24,7 +24,7 @@ export type CheckboxProps = CheckboxContentProps & CheckboxExtraProps; const InputCheckbox = (props: CheckboxProps): JSX.Element => { const { caption, checkboxProps, disabled, label, stage } = props; - if (label === undefined && stage !== undefined) { + if (label === undefined || stage !== undefined) { let newProps: MUICheckboxProps; switch (stage) { case "checked": diff --git a/src/core/InputRadio/__snapshots__/index.test.tsx.snap b/src/core/InputRadio/__snapshots__/index.test.tsx.snap index 0b4724f14..045c50092 100644 --- a/src/core/InputRadio/__snapshots__/index.test.tsx.snap +++ b/src/core/InputRadio/__snapshots__/index.test.tsx.snap @@ -2,18 +2,24 @@ exports[` Test story renders snapshot 1`] = `
-
+
-
-
-
-