title: My onChange not working with react
body: <p>I have followed this <a href="https://facebook.github.io/react/docs/forms.html#why-select-value" rel="nofollow noreferrer">documentation</a> and have created a select tag with react.<br>
  I have edited this question, If I use className="browser-default" in select it works fine. But for materialize select it is not working.<br>
  onChange event is not working in my case. The function doesn't get called.</p>
  
  <pre><code>import React from 'react';
  
  class Upload extends React.Component{
      constructor(props){
          super(props);
          this.state={
              degree:''
          }
          this.upload=this.upload.bind(this);
          this.degreeChange=this.degreeChange.bind(this);
      }
      componentDidMount() {
          $('select').material_select();
      }
      degreeChange(event){
          this.setState({degree:event.target.value});
          console.log(this.state.degree);
      }
      upload(){
          alert(this.state.degree);
      }
      render() {
          return (
              &lt;div className="container"&gt;
              &lt;form onSubmit={this.upload}&gt;
                  &lt;div className="input-field col s4"&gt;
                          &lt;select value={this.state.degree} onChange={this.degreeChange}&gt;
                              &lt;option value="" disabled&gt;Choose Degree&lt;/option&gt;
                              &lt;option value="B.E"&gt;B.E&lt;/option&gt;
                              &lt;option value="B.Tech"&gt;B.Tech&lt;/option&gt;
                          &lt;/select&gt;
                  &lt;/div&gt;
                  &lt;div className="row center-align"&gt;
                      &lt;input className="waves-effect waves-light btn centre-align" type="submit" value="Submit"/&gt;
                  &lt;/div&gt;
              &lt;/form&gt;
          &lt;/div&gt;
          );
      }
  }
  </code></pre>
  
  <p>I don't get any error here, but my degreeChange function doesn't get called. I am not getting what my error is.   </p>