-
Notifications
You must be signed in to change notification settings - Fork 827
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8868 from surveyjs/issue/8861-Rating-Scale-in-Mob…
…ileDropdown-mode---The-minRateDescription-and-maxRateDescription-labels-do-not-appear-for-custom-rating-items #8861 Rating Scale in Mobile/Dropdown mode - The minRateDescription and maxRateDescription labels do not appear for custom rating items
- Loading branch information
Showing
4 changed files
with
117 additions
and
10 deletions.
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
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
65 changes: 65 additions & 0 deletions
65
tests/markup/snapshots/rating-as-dropdown-description.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,65 @@ | ||
<div class="sd-scrollable-container sd-scrollable-container--compact sd-selectbase"> | ||
<div class="sv-dropdown_select-wrapper"> | ||
<div aria-controls="testid0i_list" aria-expanded="true" aria-invalid="false" aria-label="Question title" aria-required="false" class="sd-dropdown sd-dropdown--empty sd-input" role="textbox" tabindex="0"> | ||
<div class="sd-dropdown__value"> | ||
<input aria-controls="testid0i_list" aria-expanded="true" aria-label="Question title" autocomplete="off" class="sd-dropdown__filter-string-input" inputmode="text" placeholder="Select..." readonly="" tabindex="-1" type="text"> | ||
</div> | ||
</div> | ||
<div> | ||
<div class="sv-dropdown-popup sv-popup sv-popup--dropdown sv-single-select-list" tabindex="-1"> | ||
<div class="sv-popup__container"> | ||
<div class="sv-popup__body-content"> | ||
<div class="sv-popup__scrolling-content"> | ||
<div class="sv-popup__content"> | ||
<div class="sd-list sv-list__container"> | ||
<div class="sv-list__empty-container" style="display:none;"> | ||
<div aria-label="No data to display" class="sv-list__empty-text">No data to display</div> | ||
</div> | ||
<ul class="sv-list" role="listbox"> | ||
<li aria-selected="false" class="sd-list__item sv-list__item" role="option" tabindex="-1"> | ||
<div class="sd-list__item-body sv-list__item-body" style="padding-inline-start:16px;" title="1"> | ||
<div class="sd-rating-dropdown-item"> | ||
<span class="sd-rating-dropdown-item_text">1</span> | ||
<div class="sd-rating-dropdown-item_description"> | ||
<span class="sv-string-viewer">mimimi</span> | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
<li aria-selected="false" class="sd-list__item sv-list__item" role="option" tabindex="-1"> | ||
<div class="sd-list__item-body sv-list__item-body" style="padding-inline-start:16px;" title="2"> | ||
<div class="sd-rating-dropdown-item"> | ||
<span class="sd-rating-dropdown-item_text">2</span> | ||
</div> | ||
</div> | ||
</li> | ||
<li aria-selected="false" class="sd-list__item sv-list__item" role="option" tabindex="-1"> | ||
<div class="sd-list__item-body sv-list__item-body" style="padding-inline-start:16px;" title="3"> | ||
<div class="sd-rating-dropdown-item"> | ||
<span class="sd-rating-dropdown-item_text">3</span> | ||
</div> | ||
</div> | ||
</li> | ||
<li aria-selected="false" class="sd-list__item sv-list__item" role="option" tabindex="-1"> | ||
<div class="sd-list__item-body sv-list__item-body" style="padding-inline-start:16px;" title="4"> | ||
<div class="sd-rating-dropdown-item"> | ||
<span class="sd-rating-dropdown-item_text">4</span> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div aria-hidden="true" class="sd-dropdown_chevron-button"> | ||
<svg class="sd-dropdown_chevron-button-svg sv-svg-icon" role="img"> | ||
<use xlink:href="#icon-chevron" class=""> | ||
</use> | ||
</svg> | ||
</div> | ||
</div> | ||
</div> |