Skip to content

Commit 1d51d9b

Browse files
committed
New "disableOperators" option.
1 parent 94ccb95 commit 1d51d9b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,18 @@ $("#myFilter").structFilter({
235235

236236
Defaults to *"mm/dd/yy"*.
237237

238+
### disableOperators (boolean)
239+
240+
This option disables operators from conditions. This changes the structure of conditions from "field-operator-value" to "field-value" which simplifies the backend implementation of filtering.
241+
242+
```javascript
243+
$("#myFilter").structFilter({
244+
disableOperators: true
245+
});
246+
```
247+
248+
Defaults to *"false"*.
249+
238250
### fields (array)
239251

240252
The list of fields (as an array of objects with id, label and type) to participate in the query definition.

0 commit comments

Comments
 (0)