     @clearRelated(i)
 
     newAnnotation = Object.assign @props.annotation, {value}
-    @setState {selectedOptions}
     @props.onChange newAnnotation

          options = []
          options.push option for option in @getOptions(i)
          disabled = @getDisabledAttribute(i)
          selectedOption = if @state.selectedOptions[i]?.value then @state.selectedOptions[i] else null
          <div id={select.id} key={select.id}>
            {if select.title isnt @props.task.instruction
              <div>{select.title}</div>}

      task.selects.every (select, i) ->
        not select.required or (annotation.value[i]?.value? and annotation.value[i]?.value isnt "")

  componentWillMount: ->
    @menus = []

  componentDidMount: ->
    annotationValues = @props.annotation.value
