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

Live conditions for inline Matrix blocks #14101

Closed
magnessjo opened this issue Jan 3, 2024 · 5 comments
Closed

Live conditions for inline Matrix blocks #14101

magnessjo opened this issue Jan 3, 2024 · 5 comments

Comments

@magnessjo
Copy link
Contributor

What happened?

Description

Dropdown field conditional logic doesn't work when fields are nested. Could be a duplicate of ticket - but that is tagged as Craft 4

Steps to reproduce

  1. Create a section (test)
  2. Create two different field types that aren't dropdowns (for example, plain text and checkbox)
  3. Create two dropdown field types
  4. Configure entry type so dropdowns control the visibility (requirement) of the field type.

Expected behavior

Conditional fields will dynamically change based on conditional logic.

Actual behavior

User needs to save the component and reopen it.

Visual Example

Screenshot 2024-01-03 at 12 43 36 PM

Craft CMS version

Craft 5 - Alpha 4

PHP version

8.2.10

Operating system and version

Mac 14.1

Database type and version

MySQL 8.1.0

Image driver and version

No response

Installed plugins and versions

@magnessjo magnessjo added the bug label Jan 3, 2024
@wmdhosting
Copy link

Snag_679351

@thupsi
Copy link

thupsi commented Jan 4, 2024

@wmdhosting The roadmap item in your screenshot refers to #11287, so not actually related to the issue here.

@wmdhosting
Copy link

OK: thx for info..

Copy link

linear bot commented Jan 6, 2024

@linear linear bot closed this as completed Jan 27, 2024
@linear linear bot changed the title [5.x]: Nested Matrix field conditionals Live conditions for inline Matrix blocks Jan 27, 2024
@linear linear bot added the Public label Jan 27, 2024
@brandonkelly
Copy link
Member

Craft 5.0.0-alpha.9 was just tagged, with live conditional field support 🎉

@linear linear bot added the Craft CMS label Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants