const listItem = document.createElement("li");
listItem.className = "sortableNode";
- listItem.id = `${this.formFieldId}_instructions${instructionsId}`;
+ listItem.id = `${this.formFieldId}_instruction${instructionId}`;
listItem.dataset.instructionId = instructionId.toString();
listItem.dataset.application = instructionData.application;
listItem.dataset.pip = instructionData.pip;
const instructionList = document.getElementById(`${this.formFieldId}_instructions${instructionsId}_instructionList`);
const listItem = document.createElement("li");
listItem.className = "sortableNode";
- listItem.id = `${this.formFieldId}_instructions${instructionsId}`;
+ listItem.id = `${this.formFieldId}_instruction${instructionId}`;
listItem.dataset.instructionId = instructionId.toString();
listItem.dataset.application = instructionData.application;
listItem.dataset.pip = instructionData.pip;