Skip to content

Commit fdd7939

Browse files
author
Yuliya Haluza
committed
Adding Event to be passed for Radio Group for handleClick function similar as other components react-toolbox#1544
1 parent 50accd4 commit fdd7939

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/radio/RadioGroup.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ const factory = (RadioButton) => {
2020
disabled: false
2121
};
2222

23-
handleChange = (value) => {
24-
if (this.props.onChange) this.props.onChange(value);
23+
handleChange = (value, event) => {
24+
if (this.props.onChange) this.props.onChange(value, event);
2525
};
2626

2727
renderRadioButtons () {

0 commit comments

Comments
 (0)