Is it possible to use conditional fields on settings page? #1267
michaeljcoyne
started this conversation in
General
Replies: 2 comments
-
Hi @michaeljcoyne, I think you would need |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok thought I tried that but today it works. |
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
-
Using the example from the docs - placing the below code the my settings file - content field section:
@formConnectedFields([ 'fieldName' => 'vertical_article', 'fieldValues' => true, 'renderForBlocks' => true # (depending on regular form vs block form) ]) @formField('medias', [ 'name' => 'vertical_image', 'label' => 'Vertical Image', ]) @endformConnectedFields
This produces an error
ReferenceError: fieldName is not defined
Is it possible to use conitonal fields in the settings page?
Beta Was this translation helpful? Give feedback.
All reactions