evoluteur / structured-filter

jQuery UI widget for structured queries like "Contacts where Firstname starts with A and Birthday before 1/1/2000 and State in (CA, NY, FL)"...
http://evoluteur.github.io/structured-filter/
MIT License
258 stars 61 forks source link

Disable operators #25

Closed LborV closed 5 years ago

LborV commented 5 years ago

In options array

 disableOperators: false

In _setEditorOperator method at the begin

if(this.options.disableOperators) {
        this._step=2;
        return this._setEditorValue();
}
evoluteur commented 5 years ago

Excellent idea. Could you submit a Pull request?