       task.selects.every (select, i) ->
         not select.required or (annotation.value[i]?.value? and annotation.value[i]?.value isnt "")
 
-  getInitialState: ->
-    selectedOptions: []
-
   componentWillMount: ->
     @menus = []
-    @syncAnnotations()
 
   componentDidMount: ->
     annotationValues = @props.annotation.value

    </GenericTask>

  onChangeSelect: (i, option = {label: null, value: null}) ->
    {selectedOptions} = @state
    selectedOptions[i] = option
    value = @props.annotation.value

    options = @getOptions(i)

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