                 {isFirst ? null :
                 <div className="interval">
                   <h6>Interval</h6>
-                  <input type="text" className="interval" value={term.min} /> min<br />
-                  <input type="text" className="interval" value={term.max} /> max
+                  <input type="text" className="interval" value={term.min} onChange={this.handleMinChanged} /> min<br />
+                  <input type="text" className="interval" value={term.max} onChange={this.handleMaxChanged} /> max
                 </div>
                 }
 

    handleTermChanged: React.PropTypes.func.isRequired


  handleTextChanged: (e) ->
    changedTerm = {}
    changedTerm[k] = @props.term[k] for k of @props.term  # clone the old term
    changedTerm.word = e.target.value                     # set its text value
    @props.handleTermChanged(changedTerm, @props.termIndex)


  render: ->
    {term, queryHasSingleTerm, isFirst, isLast} = @props


                <div className="word-checkboxes">
                  <label className="checkbox">
                    <input type="checkbox" checked={term.isLemma} onChange={this.handleIsLemmaChanged} /> Lemma
                  </label>
                  &nbsp;&nbsp;
                  <label className="checkbox">
