diff --git a/src/components/forms/Label.js b/src/components/forms/Label.js index 960180535..d274d0414 100644 --- a/src/components/forms/Label.js +++ b/src/components/forms/Label.js @@ -13,7 +13,7 @@ export const LabelContent = ({id, disabled = false, isRequired = false, type, ch htmlFor={id} disabled={disabled} className={classNames({ - 'utrecht-form-label--openforms-required': isRequired, + 'utrecht-form-label--openforms-required': isRequired && requiredFieldsWithAsterisk, [`utrecht-form-label--${type}`]: type, })} > diff --git a/src/formio/templates/checkbox.ejs b/src/formio/templates/checkbox.ejs index 22121b09b..e4629e4fb 100644 --- a/src/formio/templates/checkbox.ejs +++ b/src/formio/templates/checkbox.ejs @@ -12,7 +12,7 @@