- Issue created by @weekbeforenext
- πΊπΈUnited States weekbeforenext Asheville, NC
Throwing some breakpoints in the area of conditional_fields.js under the comment "// Override state change handlers for dependents with special effects." and comparing between 4.0.0-alpha5 on Drupal core 10.2.11 and 4.0.0-alpha6 on Drupal core 10.3.10 I see a difference in the handler arguments.
If I put a breakpoint on `originalHander(e);` this is the comparison:
4.0.0-alpha5 on Drupal core 10.2.11 (working):
4.0.0-alpha6 on Drupal core 10.3.10 (not working):
The Type Error from the screenshot looks something like this:
TypeError: 'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them at Function.invokeGetter (<anonymous>:3:28) at events.<computed>.handler (https://example.com/modules/contrib/conditional_fields/js/conditional_fields.js?sqx68s:197:13) at HTMLDocument.dispatch (https://example.com/core/assets/vendor/jquery/jquery.min.js?v=3.7.1:2:40035) at v.handle (https://example.com/core/assets/vendor/jquery/jquery.min.js?v=3.7.1:2:38006) at Object.trigger (https://example.com/core/assets/vendor/jquery/jquery.min.js?v=3.7.1:2:70124) at HTMLDivElement.<anonymous> (https://example.com/core/assets/vendor/jquery/jquery.min.js?v=3.7.1:2:70726) at Function.each (https://example.com/core/assets/vendor/jquery/jquery.min.js?v=3.7.1:2:3129) at ce.fn.init.each (https://example.com/core/assets/vendor/jquery/jquery.min.js?v=3.7.1:2:1594) at ce.fn.init.trigger (https://example.com/core/assets/vendor/jquery/jquery.min.js?v=3.7.1:2:70701) at states.Dependent.reevaluate (https://example.com/core/misc/states.js?v=10.3.10:424:22)