Skip to content

Commit

Permalink
Fix oppia#20531 Change ID for "The answers in this group are correct"…
Browse files Browse the repository at this point in the history
… label (oppia#20884)

* Rename input id in modal for adding answers to be unique

* rename input ID to be a noun
  • Loading branch information
pgrm authored Sep 1, 2024
1 parent 5915419 commit cc865b1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ <h3 tabindex="0" #addResponse>Add Response</h3>
</form>

<div class="oppia-correctness-label-editor" *ngIf="!isCurrentInteractionLinear()">
<input id="labelledAsCorrect"
<input id="labelledAsCorrectForAnswerGroupModal"
class="e2e-test-editor-correctness-toggle mr-2"
type="checkbox"
[(ngModel)]="tmpOutcome.labelledAsCorrect">
<strong><label for="labelledAsCorrect">The answers in this group are correct</label></strong>
<strong><label for="labelledAsCorrectForAnswerGroupModal">The answers in this group are correct</label></strong>
</div>

<oppia-question-misconception-editor *ngIf="questionModeEnabled || tagMisconceptionsFeatureFlagIsEnabled"
Expand Down

0 comments on commit cc865b1

Please sign in to comment.