FeatureFuel
2

Support ACF fields in display conditions

Source: elementor/elementor#35700 · opened by @maoxiong
Describe the Problem


The dynamic tags feature of "Display conditions" only works with string fields and will cause a fatal error with any ACF field type that returns an array (such as gallery, relationship or even terms)

Propose a Solution


If the dynamic tag is an array field, all the dynamic conditions still make sense (empty, not empty, contains, doesn't contain) - so just adjust the processor that if the tag is an array field, act on it in an array way instead.

Additional Context


_No response_

Agreement


• I confirm I have read and followed all the guidelines and instructions outlined in the Feature Request form.
• I agree that my discussion may be closed without further action if it doesn't meet all the requirements outlined in the Feature Request form.

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests