 
   getDefaultProps: ->
     anchor: null
+    required: false
     onSubmit: Function.prototype
     onCancel: Function.prototype
 

    @props.onSubmit arguments...

  handleCancel: ->
    unless @props.required
      @close()
      @props.onCancel arguments...


    @setState {root}

    React.render <DropdownForm anchor={@getDOMNode()} required={@props.required} onSubmit={@handleSubmit} onCancel={@handleCancel}>
      {@props.children}
    </DropdownForm>, root

