score:1

you're not passing the right names to the form.input components which the handlechange function uses to update the state. they have to be 'assessment_name' and 'assessment_type' respectively to make sure the state gets updated on input change events and the new values get reflected on the fields.

<>
  <form.input
    name="assessment_name"
    value={assessment_name}
    onchange={this.handlechange}
    label="assessment name"
    required
  />
  <form.input
    name="assessment_type"
    value={assessment_type}
    onchange={this.handlechange}
    label="assessment type"
    required
  />
</>

Related Query

More Query from same tag