react-native-simple-radio-button
react-native-simple-radio-button copied to clipboard
Simple and handy animated radio button component for React Native
Android
When I use this code in android I have issues with it displaying the first time I go to that screen. If I navigate away and then back it displays....
I used with label and value in my react native project, just wondering how to change the label color and font size
I made three radio buttons using pro, the last one is not clickable render() { const radioButtons=[ { label: 'No Preference', value: 'No preference' }, { label: 'Female', value: 'Female'...
It would be very effective if the RadioForm component toggles selection when there is just one radio button (like a check box).
``` updateIsActiveIndex(index) { this.setState({ is_active_index: index }); - this.props.onPress(this.props.radio_props[index], index) + let value = this.props.radio_props[index] ? this.props.radio_props[index].value : null + this.props.onPress(value, index) } ```
This caused issues in my `onPress` handlers that were expecting the value of the button, not the button object.
By default radio button will be disable when user clicks on edit button radio button will be enable for example in **** (this.city = c)} value={this.state.patientsList.city} returnKeyType="next" placeholderTextColor="#464F54" autoCapitalize="words" style={Styles.textInputStyle}...
