Skip to content
New issue

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

[5.x]: Conditional fields don't work for entry types with multiple tabs #16860

Open
JayBox325 opened this issue Mar 10, 2025 · 1 comment
Open
Labels

Comments

@JayBox325
Copy link
Contributor

What happened?

Description

I have got a component that has 3 columns like this:

Image

So I need to let the author configure the three different content feeds where the options are:

  • Choose if you want it to be automated or manual
  • If MANUAL, you are presented with the option to choose the posts to display
  • If AUTOMATED, you are presented with the choices to configure what posts to fetch and display.

However, the conditional settings for these fields based on the Feed Type field are not making any changes based on my choices, you'll see in the screenshot below the red ones should be for automated and the green fields should appear for manual feeds:

Image

But, even when I chose an option, it never updates and there's nothing in the console to let me know it's even tried and thrown an error. Notice in the screenshot below, the type is automated, yet I'm just being shown the manual posts field.

Image

Steps to reproduce

  1. Create an entry type with multiple tabs
  2. Add conditional fields within these tabs, using the same field in each so it's duplicated the same field type
  3. Try to use it and see how the conditional field switching fails.

Craft CMS version

5.6.11

PHP version

No response

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@JayBox325 JayBox325 added the bug label Mar 10, 2025
@i-just
Copy link
Contributor

i-just commented Mar 11, 2025

Hi, thanks for getting in touch! I just tested the scenario you described, and I’m unable to reproduce this. Can you please turn on the safeMode and see if the issue persists?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants