title: redux-form -- Set Value for a field via code?
body: <p>I'm creating a customised component for my form.</p>
  
  <p>What I want: after I click a certain location, in my onClick handler, I can set the corresponding value for the form field.</p>
  
  <p>How to do that?</p>
  
  <p>My current solution: </p>
  
  <pre><code>_onClick(value, evt) {
    const {field, dispatch} = this.props
    if(dispatch){
      dispatch({type: "redux-form/CHANGE", field: field.name, value: value, touch: false, form: field.form})
    }
  }
  </code></pre>
  
  <p>it doesn't work yet.. but even if it works,  I feel this is kind of hack.</p>
  
  <p>Any better solution?</p>
  
  <p>Note: I also asked this question on the issue page for redux-form: <a href="https://github.com/erikras/redux-form/issues/369">https://github.com/erikras/redux-form/issues/369</a></p>