vue-query-builder
vue-query-builder copied to clipboard
How to set the custom-componet type fields value?
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
?