-
Notifications
You must be signed in to change notification settings - Fork 823
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work for #6869: add missing disabled class for boolean rendered as ch…
…eckbox
- Loading branch information
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
tests/markup/snapshots/boolean-checkbox-disabled-defaultV2.snap.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<div class="sd-selectbase"> | ||
<div class="sd-checkbox sd-checkbox--checked sd-checkbox--disabled sd-item sd-item--checked sd-item--disabled sd-selectbase__item"> | ||
<label class="sd-selectbase__label"> | ||
<input aria-invalid="false" aria-label="Question title" aria-required="false" checked="" class="sd-checkbox__control sd-item__control sd-visuallyhidden" disabled="" id="testid0i" name="name" type="checkbox" value="true"> | ||
<span class="sd-checkbox__decorator sd-item__decorator"> | ||
<svg class="sd-checkbox__svg sd-item__svg"> | ||
<use xlink:href="#icon-v2check" class=""> | ||
</use> | ||
</svg> | ||
<span class="check"> | ||
</span> | ||
</span> | ||
<span class="sd-item__control-label" id="testid0_ariaTitle"> | ||
<span class="sv-string-viewer">Question title</span> | ||
</span> | ||
</label> | ||
</div> | ||
</div> |