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

Update to Conditional Fields about Drain Plugs #333

Closed
Keegnan opened this issue Dec 2, 2024 · 0 comments · Fixed by #344
Closed

Update to Conditional Fields about Drain Plugs #333

Keegnan opened this issue Dec 2, 2024 · 0 comments · Fixed by #344
Assignees

Comments

@Keegnan
Copy link
Contributor

Keegnan commented Dec 2, 2024

About the Roadmap Item
When the "Does the watercraft have a drain plug located on the lower transom" is toggled to TRUE, the second drain plug field is rendered.

If the second drain plug field is also TRUE, the first field is toggled back to FALSE, but the second conditional field still gets sent in.

Acceptance Criteria

  • Given the "Does the watercraft have a drain plug located on the lower transom" is toggled to TRUE, the second drain plug field is rendered, when the second drain plug field is toggled TRUE and the first toggled FALSE, then the second drain plug field is submitted as false.

Additional Context

  • The field disappears but is still checked as "yes" but should be changed to "no" when hidden
  • If the first field is TRUE, then the second field can be TRUE or FALSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants