Closed alexeyeva closed 5 years ago
For number 1 on your list, see my PR #38
+1 for more than these two logical operators
Thanks for the suggestions y'all! I'm try to take some time this weekend to look through this and some of the other open PRs/issues.
I've merged @memdev's fix for #1, and added the ability to customize the 'match type' labels. You can also now display operators for any rule - TBH i'm not sure why I restricted this in the first place.
Hi there!
Thanks for this plugin as it is great and saved a lot of time for me by not writing the whole query builder from scratch.
Despite, I'm having some problems with it and also have suggestions.
Problem: When changing operator labels, there is still preselected 'All' value even if it is called in other way. Here I've made a cover (:)) on your sendbox, but added labels on the component. Under the query builder form you will see labels object that is used. https://codesandbox.io/s/q96zl47919?view=preview As you will see when page have just loaded -
Match type
selects are blank until you explicitly click on it and choose an option. Also this causes a problem as I'm expecting to get onlyAND
orOR
on the backend.Suggestion: It would be great to have ability to add more than two operators 'All' or 'Any'. Anyway, except they are used only as select options and as an attribute in query.
Suggestion: It would be great to have operators when using
select
field type. It would be great to have two operators for theselect
type:['=', '<>']
so there would be a possibility to choose what to exclude in query.