Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Add option to pass props to custom components #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sorrentix
Copy link

As per title, this will let us pass the props down to custom compoents by defining them in the rules.
When using a custom component in the rule, one can set the customComponentProps to an object containing the props.

@dabernathy89
Copy link
Owner

Hey @sorrentix - sorry for the long delay getting back to you on this. I'll test this out ASAP and get it merged in.

@daptontdev1
Copy link

Did you fix the issue? Badly the props option is needed. @dabernathy89 @sorrentix

@joseph-sm
Copy link

joseph-sm commented May 28, 2021

@sorrentix @dabernathy89 I had to do this recently using vue-treeselect, I used loadOptions to add the root options async, this can all be achieved by just extending QueryBuilderRule.vue and using a custom-component rule @see Custom templates

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants