We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi I 'm workin on a Gutenberg block and the conditional logic doesn’t works.
Error in console: An unknown field is used in condition - “crb_show_socials”
in my functions :
Field::make( 'select', 'crb_show_socials', 'Show Socials' ) ->add_options( array( 'yes' => 'Yes', 'no' => 'No', ) ), Field::make( 'text', 'crb_facebook', 'Facebook URL' ) ->set_conditional_logic( array( 'relation' => 'AND', // Optional, defaults to "AND" array( 'field' => 'crb_show_socials', 'value' => array('yes'), 'compare' => 'IN', ) ) ),
Any ideas? is it a bug?
The text was updated successfully, but these errors were encountered:
I also have this issue.
Sorry, something went wrong.
No branches or pull requests
Hi I 'm workin on a Gutenberg block and the conditional logic doesn’t works.
Error in console: An unknown field is used in condition - “crb_show_socials”
in my functions :
Field::make( 'select', 'crb_show_socials', 'Show Socials' )
->add_options( array(
'yes' => 'Yes',
'no' => 'No',
) ),
Field::make( 'text', 'crb_facebook', 'Facebook URL' )
->set_conditional_logic( array(
'relation' => 'AND', // Optional, defaults to "AND"
array(
'field' => 'crb_show_socials',
'value' => array('yes'),
'compare' => 'IN',
)
) ),
Any ideas? is it a bug?
The text was updated successfully, but these errors were encountered: