From 6fd1421143c0f683b6b9c318b79eccd55118086a Mon Sep 17 00:00:00 2001 From: Nilansh Arora Date: Wed, 2 Aug 2017 21:56:34 +0530 Subject: [PATCH] Event passed for Radiogroup (#1544) --- components/radio/RadioGroup.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/radio/RadioGroup.js b/components/radio/RadioGroup.js index 13d8b3df..02e667ee 100644 --- a/components/radio/RadioGroup.js +++ b/components/radio/RadioGroup.js @@ -20,8 +20,8 @@ const factory = (RadioButton) => { disabled: false, }; - handleChange = (value) => { - if (this.props.onChange) this.props.onChange(value); + handleChange = (value, event) => { + if (this.props.onChange) this.props.onChange(value, event); }; renderRadioButtons() {