File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 <component
99 :is =" pseudoIcon"
1010 v-if =" !isDropdown"
11+ :size =" 24"
1112 class =" question__item__pseudoInput" />
1213 <input
1314 ref =" input"
@@ -145,6 +146,11 @@ export default {
145146 default: false ,
146147 },
147148
149+ isRanking: {
150+ type: Boolean ,
151+ default: false ,
152+ },
153+
148154 maxIndex: {
149155 type: Number ,
150156 required: true ,
@@ -256,6 +262,10 @@ export default {
256262 return IconTableRow
257263 }
258264
265+ if (this .isRanking ) {
266+ return IconDragIndicator
267+ }
268+
259269 return this .isUnique ? IconRadioboxBlank : IconCheckboxBlankOutline
260270 },
261271 },
@@ -538,8 +548,7 @@ export default {
538548 height: 100 % ;
539549 }
540550
541- .option__drag - handle,
542- .drag - indicator- icon {
551+ .option__drag - handle {
543552 color: var (-- color- text- maxcontrast);
544553 cursor: grab;
545554 margin- block: auto;
Original file line number Diff line number Diff line change 8080 :aria-label =" t('forms', 'Move option actions')"
8181 class =" ranking-item__drag-handle"
8282 variant =" tertiary-no-background" >
83-
8483 <template #icon >
8584 <IconDragIndicator :size =" 20" />
8685 </template >
153152 :isUnique =" true"
154153 :maxIndex =" options.length - 1"
155154 :maxOptionLength =" maxStringLengths.optionText"
155+ :isRanking =" true"
156156 optionType =" choice"
157157 @createAnswer =" onCreateAnswer"
158158 @update:answer =" updateAnswer"
You can’t perform that action at this time.
0 commit comments