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

corrected the data-hide syntax for dynamic checkboxes #996

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

tombradford
Copy link
Contributor

https://osc.github.io/ood-documentation/latest/how-tos/app-development/interactive/dynamic-form-widgets.html#hiding-entire-elements

changes when-unchecked to when-un-checked as suggested on OSC/ondemand#3199

(whitespace changes as a result of a local vim pluign to remove trailing whitespaces - i can remove these changes if required)

tested successfully using ondemand 3.1.7:

---

form:
  - checkbox_test
  - path

attributes:
  path:
    widget: path_selector
  checkbox_test:
    widget: check_box
    html_options:
      data:
        hide-path-when-un-checked: true

image

image

Copy link
Contributor

@johrstrom johrstrom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@johrstrom johrstrom changed the base branch from develop to latest September 9, 2024 13:45
@johrstrom johrstrom merged commit 0515f59 into OSC:latest Sep 9, 2024
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

Successfully merging this pull request may close these issues.

2 participants