Replies: 1 comment 4 replies
-
Hey @oranoran — this should actually be documented but it is actually functioning as intended, however the intended functionality could be up for debate. Right now, we export The question is - should this be done for you? The reason that we did not auto-wrap custom components in I'll move this over to a discussion but I'd like to keep the convo going! |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Bug Report
A field with a custom component ignores the provided condition function, and always renders.
Expected Behavior
If the condition function evaluates to false, it should not render.
Steps to Reproduce
See the reproduction repo.
This has 2 fields with the same condition - a regular text field, and a text field with a custom component.
The field with the custom component always renders, regardless of the condition outcome.
Detailed Description
Payload 14.0 and 0.14.24-beta.0
Beta Was this translation helpful? Give feedback.
All reactions