-
I am currently looking into how I can pass a customArgument (an ID in this case) to asyncFetch for select component, so I can filter some options available to the list based on lets say an accountId. I was thinking setting up a custom function in a ctx, but I need to grab the value from a react context, so this needs to happen inside of a component. we are rendering a specific component for select fields, and I'm not sure if I can pass it dynamically somehow in the component? Additionally, this field is a select when onList operator is present and just a text box for equal and not equal.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Could you please explain where value of |
Beta Was this translation helpful? Give feedback.
-
If you make |
Beta Was this translation helpful? Give feedback.
Not exactly.
I thought about smth like this:
When value of your account select component changes, you update props of query builder component with putting
accountId
…