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

Switch component does not work with rules #1351

Open
richardwegier opened this issue Aug 13, 2024 · 2 comments
Open

Switch component does not work with rules #1351

richardwegier opened this issue Aug 13, 2024 · 2 comments
Assignees

Comments

@richardwegier
Copy link

Expected Behaviour

Toggle the visibility of a panel by using the Switch component and the Rule Editor. When the switch is ON, the panel is displayed, when the switch is OFF the panel is hidden.

Actual Behaviour

Changing the selection does not have any effect other than a warning in the browser console:
core-forms-components-runtime-all.min.js:1 changes to checked are not supported. Please raise an issue

AEM Version

6.5 SP21

AEM Forms Version

  • AF version: 6.5 SP21
  • Core Components Version: 1.1.50
@rismehta
Copy link
Collaborator

@pavi41 Can you check this issue ?

@richardwegier
Copy link
Author

Hello

After some more testing we can provide more details.

In our case we have an accordion. On the first page/item the rules work, but the before mentioned warning is thrown in the browser console. On the second page/item the rule does not work and the warning is thrown. We found more components leading to browser console warnings:

  • Dropdown List: changes to activeChild are not supported. Please raise an issue
  • Checkbox: changes to checked are not supported. Please raise an issue

Best regards
Richard

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

No branches or pull requests

3 participants