title: redux-form [v6] Form with multiple submit buttons, detecting which button
body: <p>At the moment I am attaching a handler to each submit button so that I can know in the submit handler which one triggered the submit, using setState() to just track at component level only which button was pressed.</p>
  
  <p>In my Component that renders the form and handles submit.</p>
  
  <pre><code>flagButtonComplete = (e: any) =&gt; {
      this.setState({ flagComplete: true });
  }
  </code></pre>
  
  <p>Which is then passed down through a few sub components to the submit buttons that need to be complete button rather than a save button.</p>
  
  <p>Then in my submit</p>
  
  <pre><code>submit = (values: any) =&gt; {
      const saveAction = this.state.flagComplete
          ? this.props.saveComplete(values)
          : this.props.save(values);
  </code></pre>
  
  <p>Just wondering if there might be some other way to detect which button as I have to thread this submit button clicked handler down through 2 layers of components.</p>
  
  <p>Might there be some way I have missed to get the values object as given to submit via some other api possibly ?</p>