We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents da7204d + 531b036 commit e5a408cCopy full SHA for e5a408c
lib/SimpleRadioButton.js
@@ -44,6 +44,11 @@ export default class RadioForm extends React.Component {
44
this.props.onPress(this.props.radio_props[index], index)
45
}
46
47
+ //This function is for clear the selection when we are using the library in multiple choice questions
48
+ clearSelection(){
49
+ this.setState({is_active_index:-1});
50
+ }
51
+
52
_renderButton(obj, i) {
53
return (
54
<RadioButton
0 commit comments