                 <Input autoFocus value={@state.due_date} ref='due_date_input'
                        type='text' placeholder='Due date'
                        onChange={=>@setState(due_date:@refs.due_date_input.getValue())}
-                       onKeyDown={@due_date_keydown}
+                       onKeyDown={(e)=>if e.keyCode==27 then @setState(edit_due:false)}
                 />
             </form>
         else

                {"#{due_date}"} <Button onClick={=>@edit_due_date()}>Edit</Button>
            </div>

    render_more_header: ->
        <Row>
            <Col md=1>


        get_due_date: (assignment) =>
            return @get_assignment(assignment)?.get('due_date')

        get_assignment_note: (assignment) =>
            return @get_assignment(assignment)?.get('note')

        get_assignments: => @state.assignments

