diff --git a/src/@episerver/forms-react/src/components/elements/ChoiceElementBlock.tsx b/src/@episerver/forms-react/src/components/elements/ChoiceElementBlock.tsx index 5335632..ba2ca04 100644 --- a/src/@episerver/forms-react/src/components/elements/ChoiceElementBlock.tsx +++ b/src/@episerver/forms-react/src/components/elements/ChoiceElementBlock.tsx @@ -11,10 +11,10 @@ export interface ChoiceElementBlockProps { export const ChoiceElementBlock = (props: ChoiceElementBlockProps) => { const { element } = props; const { elementContext, handleChange, handleBlur } = useElement(element); - const { isVisible, validationResults, value, validatorClasses } = elementContext; + const { isVisible, validationResults, value, validatorClasses, extraAttr } = elementContext; return useMemo(()=>( - +
{!isNullOrEmpty(element.properties.label) &&