Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed grouped form control UU bug #384

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading