Skip to content

Commit

Permalink
Fixed grouped form control UU bug
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnp committed Dec 10, 2024
1 parent b971069 commit 35d9034
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/formcomponents/choice/checkbox-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const CheckboxView = (props: Props): JSX.Element | null => {
}
return (
<div className="page_refero__component page_refero__component_choice page_refero__component_choice_checkbox">
<FormGroup onColor="ongrey" error={getErrorMessage(item, error)} errorWrapperClassName={styles.paddingBottom}>
<FormGroup htmlMarkup="div" onColor="ongrey" error={getErrorMessage(item, error)} errorWrapperClassName={styles.paddingBottom}>
<ReferoLabel
item={item}
resources={resources}
Expand Down
2 changes: 1 addition & 1 deletion src/components/formcomponents/choice/radio-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const RadioView = (props: Props): JSX.Element => {
}
return (
<div className="page_refero__component page_refero__component_choice page_refero__component_choice_radiobutton">
<FormGroup onColor="ongrey" error={getErrorMessage(item, error)} errorWrapperClassName={styles.paddingBottom}>
<FormGroup htmlMarkup="div" onColor="ongrey" error={getErrorMessage(item, error)} errorWrapperClassName={styles.paddingBottom}>
<ReferoLabel
item={item}
resources={resources}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const CheckboxView = (props: Props): JSX.Element | null => {
}
return (
<div className="page_refero__component page_refero__component_openchoice page_refero__component_openchoice_checkbox">
<FormGroup error={getErrorMessage(item, error)} onColor="ongrey" errorWrapperClassName={styles.paddingBottom}>
<FormGroup htmlMarkup="div" error={getErrorMessage(item, error)} onColor="ongrey" errorWrapperClassName={styles.paddingBottom}>
<ReferoLabel
item={item}
resources={resources}
Expand Down
2 changes: 1 addition & 1 deletion src/components/formcomponents/open-choice/radio-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const RadioView = (props: Props): JSX.Element | null => {
}
return (
<div className="page_refero__component page_refero__component_openchoice page_refero__component_openchoice_radiobutton">
<FormGroup error={getErrorMessage(item, error)} onColor="ongrey" errorWrapperClassName={styles.paddingBottom}>
<FormGroup htmlMarkup="div" error={getErrorMessage(item, error)} onColor="ongrey" errorWrapperClassName={styles.paddingBottom}>
<ReferoLabel
item={item}
resources={resources}
Expand Down

0 comments on commit 35d9034

Please sign in to comment.