This topic contains 3 replies, has 2 voices, and was last updated by Avatar Hristofor 3 days, 23 hours ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #101100
    Avatar
    anna
    Participant

    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

     

    #101101
    Avatar
    Hristofor
    Participant

    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

    #101115
    Avatar
    anna
    Participant

    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”.

    #101117
    Avatar
    Hristofor
    Participant

    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

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.