Skip to content

Commit

Permalink
Update JSONSchemaForm.js
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmflynn committed Jun 10, 2024
1 parent 6f0dce7 commit a3870f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/electron/frontend/core/components/JSONSchemaForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1012,8 +1012,8 @@ export class JSONSchemaForm extends LitElement {

if (groupEl) {

groupEl.setAttribute(`data-${externalPath}-errors`, updatedErrors.length);
groupEl.setAttribute(`data-${externalPath}-warnings`, updatedWarnings.length);
groupEl.setAttribute(`data-${name}-errors`, updatedErrors.length);
groupEl.setAttribute(`data-${name}-warnings`, updatedWarnings.length);

const allFormSections = groupEl.querySelectorAll(".form-section");
const inputs = Array.from(allFormSections).map((section) => section.id);
Expand Down

0 comments on commit a3870f0

Please sign in to comment.