This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit b3a898aa authored by Daniel Rainer's avatar Daniel Rainer
Browse files

Do not give value to disabled

The presence of "disabled" in a HTML tag
is sufficient to disable it.
Assigning a value has no effect.
parent fe9ad698
1 merge request!29Frontend refactoring
......@@ -28,7 +28,7 @@
</div>
<ng-template #helpBookmark> {{ 'exercise.comingSoon' | translate}}</ng-template>
<div class="form-check" style="float: right; padding-right: 10px;" [ngbTooltip]="helpBookmark">
<input class="form-check-input" type="checkbox" value="" id="card-defaultCheck1" disabled="true">
<input class="form-check-input" type="checkbox" value="" id="card-defaultCheck1" disabled>
<label class="form-check-label" for="card-defaultCheck1"></label>
</div>
</div> <!-- card bookmark end-->
......
......@@ -72,7 +72,7 @@
</div>
<div class="form-check" style="float: right; padding-right: 10px;" [ngbTooltip]="helpComingSoon" placement="right">
<input class="form-check-input" type="checkbox" value=""
id="modal-defaultCheck1" disabled="true">
id="modal-defaultCheck1" disabled>
<label class="form-check-label" for="modal-defaultCheck1"></label>
</div>
</div> <!-- modal bookmark end-->
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment