How to reset initial value in redux form
Harsha's answer is correct, but you can also call this.props.reset()
, which already knows your form name, from inside your decorated form component.
You can see it in action on the "Clear Values" button in the Simple Example.
import {reset} from 'redux-form';
...
dispatch(reset('myForm')); // requires form name