dabernathy89 / vue-query-builder

A UI component for building complex queries with nested conditionals.
https://dabernathy89.github.io/vue-query-builder/
MIT License
643 stars 157 forks source link

How to set the custom-componet type fields value? #85

Open creativeartbd opened 1 year ago

creativeartbd commented 1 year ago

I have this rules:

rules: [
    {
        type: "text",
        id: "url_regex",
        label: "Url Regex",
    },
    {
        type: "custom",
        id: "page_source",
        label: "Page Source ",
    },
    {
        type: "custom-component",
        id: "page_dom_element",
        label: "Page Dom Element",
        operators: [],
        component : PageDomElement,
    },
],

Here, on the last rule you can see that I am using custom-component type as the component is PageDomElement. In this PageDomElement I have entered 3 input fields.

Now my question is how can I get this 3 input fields to query?