Skip to content

Commit

Permalink
Merge pull request #3100 from bitzesty/auto-subtotals-rows-fix-qa
Browse files Browse the repository at this point in the history
Fix displaying of auto-calculated rows [QA]
  • Loading branch information
Lubosky authored Sep 27, 2024
2 parents 8f49d8b + 1c8dd44 commit 5e708ea
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/frontend/form-validation.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ window.FormValidation =
key.includes(v)
map.set(key, cond)

if !cond && shouldHideRow
if !cond && !qRow.hasClass('js-prevent-hide') && shouldHideRow
subq.val("")
if shouldDisableRow
subq.prop('disabled', true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -634,6 +634,10 @@ def mobility_step3
[:normal, "If none, please enter '0'."],
]
corner_label "Disadvantaged group type"
subtotals_label "Subtotal number of discrete disadvantaged participants who benefited (the system will calculate this)"
others_label "Others receiving support from you who are not disadvantaged who benefited"
totals_label "Total number of discrete participants (the system will calculate this)"
proportion_label "The proportion of disadvantaged participants from the total (the system will calculate this)"

x_headings [2020, 2021, 2022, 2023, 2024]

Expand Down

0 comments on commit 5e708ea

Please sign in to comment.