You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using your exact configuration, I cannot reproduce your issue. A rule without a selected value is invalid unless you explicitly allow it to be empty. (http://querybuilder.js.org/#validation)
If you set a "default_value" the default will be selected as soon as that filter is selected from the filters dropdown. In order to have no value at all selected, the user would have to explicitly deselect all values in the multi-select which would override your default.
You will have to remove the value property or set it to undefined while calling setRules in order to use the default_value. An empty array will not work.
Hi,
how can I define default value if the value is empty array?
And json rules:
It does not select the value "All" :-(
Is it possible somehow?
Thanks.
The text was updated successfully, but these errors were encountered: