adobe / aem-core-forms-components

Apache License 2.0
26 stars 50 forks source link

Switch component does not work with rules #1351

Open richardwegier opened 1 month ago

richardwegier commented 1 month ago

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

rismehta commented 1 month ago

@pavi41 Can you check this issue ?

richardwegier commented 1 month ago

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:

Best regards Richard