title: how to disable <ENTER> key for form submit in react-bootstrap
body: <p>In the following snippet, I have a number of input forms that are type text. If the user hits , it seems I am getting the same synthetic event as if they press the submit button. I want to ignore the  as a form submit, and only allow one to press the SUBMIT button. (I deleted some of the Form Groups to cut down on the example).</p>
  
  <p>In all cases (button or ENTER key) </p>
  
  <pre><code>e.key is undefined
  e.which is undefined
  e.type is submit
  e.target is the submit button 
  </code></pre>
  
  <p>(this is a synthetic event)</p>
  
  <pre><code>const React = require('react')
  import { Form, FormControl, FormGroup, ControlLabel, Col, Button, Tooltip, OverlayTrigger } from 'react-bootstrap'
  
  const Configuration = ({ ServerPort, UserID, PortNumber, WWWUrl, SourcePath, FMEPath }) =&gt; {
      const buttonAction = (e) =&gt; {
          e.preventDefault();
          alert(e.target.innerHTML)
      }
      return (
          &lt;Form horizontal&gt;
              &lt;FormGroup controlId="serverPortBox"&gt;
                  &lt;Col componentClass={ControlLabel} sm={2}&gt;Watson Port:&lt;/Col&gt;
                  &lt;Col sm={10}&gt;
                      &lt;OverlayTrigger placement="left" overlay={(&lt;Tooltip id="tt1"&gt;TCP port for Watson to use&lt;/Tooltip&gt;)}&gt;
                          &lt;FormControl type="number" min="1024" max="65535" placeholder={ServerPort} /&gt;
                      &lt;/OverlayTrigger&gt;
                  &lt;/Col&gt;
              &lt;/FormGroup&gt;
              &lt;FormGroup controlId="dbPortBox"&gt;
                  &lt;Col componentClass={ControlLabel} sm={2}&gt;Database Port:&lt;/Col&gt;
                  &lt;Col sm={10}&gt;
                      &lt;OverlayTrigger placement="left" overlay={(&lt;Tooltip id="tt3"&gt;TCP port for PostGreSql DB&lt;/Tooltip&gt;)}&gt;
                          &lt;FormControl type="number" min="1024" max="65535" placeholder={PortNumber} /&gt;
                      &lt;/OverlayTrigger&gt;
                  &lt;/Col&gt;
              &lt;/FormGroup&gt;
              &lt;Button type="submit" bsStyle="primary" block onClick={(e) =&gt; buttonAction(e)}&gt;Update Configuration&lt;/Button&gt;
          &lt;/Form&gt;
      )
  }
  
  export default Configuration
  </code></pre>