Hide/show +Rule button based on Field select #670
Closed
kellywang1234
started this conversation in
General
Replies: 2 comments
-
The "+ Rule" button is at the group level, so I'm not sure how the logic would be based on a rule-level property like |
Beta Was this translation helpful? Give feedback.
0 replies
-
sorry about the sandbox, but i figured out the issue! thank you anyway, i will close this discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, is it possible to hide/show +Rule button based on Field change? https://codesandbox.io/p/sandbox/react-query-builder-two-value-valueeditor-forked-6dk894?file=%2Fsrc%2FApp.tsx%3A85%2C42 In this example, when we select "Hide rule button" field option, the +Rule button should disabled/hide. I tired addRuleAction but it seems the behaviors happens when on click rule rather than field change. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions