diff --git a/packages/react/src/components/Checkbox/Checkbox.tsx b/packages/react/src/components/Checkbox/Checkbox.tsx index 79f2cb9b13dc..6bc628332899 100644 --- a/packages/react/src/components/Checkbox/Checkbox.tsx +++ b/packages/react/src/components/Checkbox/Checkbox.tsx @@ -160,8 +160,8 @@ const Checkbox = React.forwardRef( className={`${prefix}--checkbox`} id={id} ref={(el) => { - if (el && indeterminate) { - el.indeterminate = indeterminate; + if (el) { + el.indeterminate = indeterminate ?? false; } if (typeof ref === 'function') { ref(el);