Skip to content

Commit

Permalink
296 Criteria is exapnded if it has errors on save
Browse files Browse the repository at this point in the history
  • Loading branch information
cpreisinger committed Dec 17, 2024
1 parent de30760 commit 120a70a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<button
type="button"
class="usa-accordion__button display-flex flex-justify icon-white"
aria-expanded="<%= f.object.persisted? ? false : true %>"
aria-expanded="<%= f.object.errors.any? ? true : false %>"
aria-controls="<%= criteria_field_id(f, "accordion", is_template) %>"
data-evaluation-criteria-target="accordionButton"
data-action="click->evaluation-criteria#validateInputs"
Expand Down

0 comments on commit 120a70a

Please sign in to comment.