title: I have required values in the field and need to copy value from value,value1,value2,value3,value4 field to course object using setState in react
body: <pre><code>class RegistrationPage extends Component {
    state={
      value:'',
      value1:'',
      value2:'',
      value3:'',
      value4:'',
      course:{
        watchHref:'',title:'',authorId:'',category:'',length:''
      }
    }
  </code></pre>