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

Conditional Logic Not Working with Checkbox Selection #398

Closed
poonam279 opened this issue Oct 4, 2024 · 2 comments · Fixed by #400
Closed

Conditional Logic Not Working with Checkbox Selection #398

poonam279 opened this issue Oct 4, 2024 · 2 comments · Fixed by #400
Assignees
Labels
bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer. regression Issue represents a change in behavior from a previous version that is not intended or desired..

Comments

@poonam279
Copy link

poonam279 commented Oct 4, 2024

Description

Conditional logic based on checkbox selections no longer works. Previously, it was possible to display fields based on the user's choice of a checkbox option. However, this functionality is currently broken, and the conditional fields do not show based on the checkbox selection.

Step-by-step reproduction instructions

  1. Create a checkbox field using 2-3 options (eg: first, second, third)
  2. Add the max checked option
  3. Create another field text in the same meta-group
  4. Set the visibility condition of the text field based on the selection of the checkbox.(eg https://vertis.d.pr/i/LGQ1P9)
  5. Check the conditional logic on the frontend.

Screenshots, screen recording, code snippet or Help Scout ticket

https://wordpress.org/support/topic/les-lignes-add-options-napparaissent-plus-dans-les-conditions/

Environment info

No response

Is the issue you are reporting a regression

Yes, this is a regression.

@poonam279 poonam279 added the bug This label could be used to identify issues that are caused by a defect in the product. label Oct 4, 2024
@pirate-bot pirate-bot added customer report Indicates the request came from a customer. regression Issue represents a change in behavior from a previous version that is not intended or desired.. labels Oct 4, 2024
@poonam279
Copy link
Author

New finding: The condition works if we do not add the Max Checked option. To replicate the issue you need to add max checked option. Screenshot: https://vertis.d.pr/i/MY04uR

@selul
Copy link
Contributor

selul commented Oct 7, 2024

@Soare-Robert-Daniel can you prioritize this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This label could be used to identify issues that are caused by a defect in the product. customer report Indicates the request came from a customer. regression Issue represents a change in behavior from a previous version that is not intended or desired..
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants