Skip to content

Commit

Permalink
fix(pf4): fix multiple choices checkbox component
Browse files Browse the repository at this point in the history
  • Loading branch information
fhlavac committed Nov 25, 2024
1 parent 26119e0 commit 733f960
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import MultipleChoiceListCommon, { wrapperProps } from '@data-driven-forms/commo
import FormGroup from '../form-group/form-group';

const FinalCheckbox = ({ option, ...props }) => (
<Checkbox isChecked={props.checked} {...props} onChange={(_value, e) => props.onChange(e)} {...option} />
<Checkbox isChecked={props.checked} {...props} onChange={(e, _value) => props.onChange(e)} {...option} />
);

FinalCheckbox.propTypes = {
Expand Down

0 comments on commit 733f960

Please sign in to comment.