diff --git a/src/openforms/js/components/admin/forms/Inputs.js b/src/openforms/js/components/admin/forms/Inputs.js index 97a4584763..5089fce694 100644 --- a/src/openforms/js/components/admin/forms/Inputs.js +++ b/src/openforms/js/components/admin/forms/Inputs.js @@ -102,19 +102,23 @@ const Checkbox = ({name, label, helpText, noVCheckbox = false, ...extraProps}) = name = prefix ? `${prefix}-${name}` : name; const idFor = disabled ? undefined : `id_${name}`; return ( -
- {' '} - - {helpText ? ( + <> +
+ {' '} + +
+ {helpText && (
{helpText}
- ) : null} -
+ )} + ); };