-
Notifications
You must be signed in to change notification settings - Fork 49
[Issue #7380] Conditionally disable radio buttons based off status #7716
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
base: main
Are you sure you want to change the base?
Conversation
hmurdock/7380-conditionally-disable-radio update logic to disable radio button when application status is submitted
hmurdock/7380-conditionally-disable-radio updated tests to add application status information to test classes
…ithub.com/HHS/simpler-grants-gov into hmurdock/7380-conditionally-disable-radio
hmurdock/7380-conditionally-disable-radio updated test logic
hmurdock/7380-conditionallyu-disable-radio prettier updates for failing tests
hmurdock/7380-conditionally-disable-radio updated test logic for failing tests
|
Not sure what happened, but it seems that the PR template got confused? Can you put it back? It should list either fixes or work, not both. That determines if UAT in needed. For this PR, since it is a bug, UAT isn't required. The name of the PR needs to follow |
frontend/src/components/application/IncludeFormInSubmissionRadio.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/application/IncludeFormInSubmissionRadio.test.tsx
Show resolved
Hide resolved
hmurdock/7380-conditionally-disable-radio updated to use object and updated tests
hmurdock/7380-conditionally-disable-radio updated tests and fixes to snapshot
…onally-disable-radio
hmurdock/7380-conditionally-disable-radio updated lint fixes
hmurdock/7380-conditionally-disable-radio format-check fixes for prettier
frontend/src/components/application/ApplicationValidationAlert.test.tsx
Outdated
Show resolved
Hide resolved
hmurdock/7380-conditionally-disable-radio updated tests and format adding back needed parameters
hmurdock/7380-conditionally-disable-radio updated code for format check errors
ErinPattisonNava
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the forms show up both under the required list and the conditional list, regardless of whether they are conditional or required.
| <h3>{t("requiredForms")}</h3> | ||
| <ApplicationTable | ||
| forms={forms} | ||
| applicationForms={requiredForms} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note that this is just the required forms.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, then forms only required will show, else nothing will show?
| </p> | ||
| <ApplicationTable | ||
| forms={forms} | ||
| applicationForms={conditionalRequiredForms} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this is supposed to just be the conditional forms
hmurdock/7380-conditionally-disabled-radio added back in application forms and updated tests
hmurdock/7380-conditionally-disable-radio updated compile error
…ithub.com/HHS/simpler-grants-gov into hmurdock/7380-conditionally-disable-radio
hmurdock/7380-conditionally-disable-radio updated formatting
Summary
Work for #7109
Changes proposed
Updated logic when application status is submitted radio buttons are disabled
"Submit with Application" radio should be conditionally disabled
screenshot of html page for docraptor

Changes proposed
Added logic to conditionally disable radio buttons when application status is submitted
Validation steps