title: react material-ui select not working
body: <p>Im' new to react from angularjs, using material-ui for a project and I can't get the select component to work like a select component. Basically I want to populate the dropdown with an array of objects and do something with the selected object once a selection is made by the user. I've been running into a bunch of problems, the most recent is that I can't figure out how to set a default starting value when the component loads and I can't see the selected option in the GUI. I'm able to set the state and log it out to the console you just can't see it in the select component. Also, what is the difference between @material-ui/core and material-ui. Are they different libraries, different versions of the same library?</p>
  
  <pre><code>  class HomePage extends React.Component {
    constructor(props) {
      super();
      this.reportSelected = this.reportSelected.bind(this);
      this.state = {
        report: "report1"
      };
    }
    static propTypes = {
      classes: PropTypes.object
    };
  
    reports = [
      {
        name: "report1"
      },
      {
        name: "report2"
      },
      {
        name: "report3"
      }
    ];
  
    reportSelected = event =&gt; {
      this.setState((prevState) =&gt; {
        return {
          report: event.target.value
        }
      }, console.log(this.state))
    };
  
    render() {
      const { classes, headerTitle } = this.props;
  
      return (
        &lt;div className={classes.homePage}&gt;
          &lt;HeaderTitle title="Home" /&gt;
          &lt;Helmet&gt;
            &lt;title&gt;{headerTitle}&lt;/title&gt;
          &lt;/Helmet&gt;
  
          &lt;form&gt;
            &lt;FormControl className={classes.reportsDropdown}&gt;
              &lt;InputLabel htmlFor="reports"&gt;Reports&lt;/InputLabel&gt;
              &lt;Select
                value={this.state.report}
                onChange={this.reportSelected}
              &gt;
                {this.reports.map(report =&gt; (
                  &lt;MenuItem value={report.name} key={report.name}&gt;
                    {report.name}
                  &lt;/MenuItem&gt;
                ))}
              &lt;/Select&gt;
            &lt;/FormControl&gt;
          &lt;/form&gt;
        &lt;/div&gt;
      );
    }
  }
  </code></pre>
  
  <p>UPDATE:</p>
  
  <p>The following code works as expected,</p>
  
  <pre><code>class HomePage extends React.Component {
    constructor(props) {
      super();
      this.reportSelected = this.reportSelected.bind(this);
      this.state = {
        report: "report1"
      };
    }
    static propTypes = {
      classes: PropTypes.object
    };
  
    reports = [
      {
        name: "report1"
      },
      {
        name: "report2"
      },
      {
        name: "report3"
      }
    ];
  
    reportSelected = event =&gt; {
      this.setState(() =&gt; {
        return {
          report: event.target.value
        }
      })
    };
  
    render() {
      const { classes, headerTitle } = this.props;
  
      return (
        &lt;div className={classes.homePage}&gt;
          &lt;HeaderTitle title="Home" /&gt;
          &lt;Helmet&gt;
            &lt;title&gt;{headerTitle}&lt;/title&gt;
          &lt;/Helmet&gt;
  
          &lt;form&gt;
            &lt;FormControl className={classes.reportsDropdown}&gt;
              &lt;InputLabel htmlFor="reports"&gt;Reports&lt;/InputLabel&gt;
              &lt;Select
                value={this.state.report}
                onChange={this.reportSelected}
              &gt;
                {this.reports.map(report =&gt; (
                  &lt;MenuItem value={report.name} key={report.name}&gt;
                    {report.name}
                  &lt;/MenuItem&gt;
                ))}
              &lt;/Select&gt;
            &lt;/FormControl&gt;
          &lt;/form&gt;
        &lt;/div&gt;
      );
    }
  }
  </code></pre>