I\'m using a custom component with react-final-form
. On input change it sets the value to the address
field. But when the input is cleared it doesn
All the default callback are handle by the component. If you want to do a clear with a button click, you can create a custom component and use native callback methods do your thing.
onChange = (event) => {
this.setState({
address:event.target.value
});
}
onClear = () => {
this.setState({
address:''
});
}