class Field extends Lanes.React.Component render: -> return null unless @model.visible
@model.selected = true } />
class Operator extends Lanes.React.Component render: -> @model.selected = true } /> class Lanes.Components.RecordFinder.Clause extends Lanes.React.Component propsTypes: model: Lanes.PropTypes.State.isRequired onEnter: React.PropTypes.func.isRequired onAddClause: React.PropTypes.func.isRequired setValue: (ev) -> @model.value = ev.target.value runQuery: -> @model.query.results.ensureLoaded() componentDidMount: -> @refs.query.focus() handleKeyDown: (ev) -> @props.onEnter() if ev.key is 'Enter' render: ->
{@model.fields.map (f) -> }
{@model.operators.valid.map (o) -> }
Search