How to reset the value in Radio group ?
michaelVictoriaDev opened this issue · 0 comments
michaelVictoriaDev commented
I want to reset or no selected value
my reset button function looks like this.
<Button transparent light
onPress={() => {
console.log(`Selected index: ${this.state.index} , value: ${this.state.value}`)
this.setState({
index: 10,
value: ''
})
}
} >
<Title style={{ fontSize: 14 }}>Reset</Title>
</Button>