Hello!
I’m not sure if this thread is the correct one 😀
I’m using the QueryBuilder for Vue, and I’d like to customize the dropdown in the Property field (by using a more advanced one), and add more categories in the Value field (ex. a dropdown with predefined values in string types). Is that possible? Thank you
Hi anna,
you can customize the operations list with custom operations and set custom editors for each operation but the Property field can not be changed. It is always a drop down list that allows to select an operation. Here’s a demo that illustrates how to create custom operations with custom editors.
With the label attribute of each field object in the fields property of the Smart.QueryBuilder you can customize the label that will appear in the drop down list item for the property. The filterOperations attribute defines the list of operations that will be available for selection via the operations drop down list.
Best Regards,
Christopher
Smart HTML Elements Team https://www.htmlelements.com
Hello!
In the query builder, is it possible to add the options: “Not And”, “Not Or” when you add a group or a field? Because now there are only “And” and “Or”.
Hi anna,
Unfortunately, at the moment it is not possible to modify the logical operators of the Smart.QueryBuilder.
Best Regards,
Christopher
Smart HTML Elements Team https://www.htmlelements.com