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

3.5.1 Theme breaks Drupal Webform Conditional logic #1309

Open
norsargsyan opened this issue Aug 16, 2023 · 0 comments
Open

3.5.1 Theme breaks Drupal Webform Conditional logic #1309

norsargsyan opened this issue Aug 16, 2023 · 0 comments

Comments

@norsargsyan
Copy link

Steps to reproduce:
Create a webform with conditional logic, to make a visible element when the radio element value is "something"

visible:
  ':input[name="type_of_comment"]':
    value: content_of_the_following_region

Browser console:

Uncaught SyntaxError: Expected property name or '}' in JSON at position 1
    at JSON.parse (<anonymous>)
    at _loop (states.js?v=9.5.10:35:27)
    at Object.attach (states.js?v=9.5.10:45:9)
    at drupal.js?v=9.5.10:24:24
    at Array.forEach (<anonymous>)
    at Drupal.attachBehaviors (drupal.js?v=9.5.10:21:34)
    at drupal.init.js?v=9.5.10:24:12
    at HTMLDocument.listener (drupal.init.js?v=9.5.10:14:7)
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

1 participant