vueless 1.0.2-beta.6 → 1.0.2-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -457,7 +457,6 @@ const {
|
|
|
457
457
|
<template>
|
|
458
458
|
<ULabel
|
|
459
459
|
ref="labelComponent"
|
|
460
|
-
:for="elementId"
|
|
461
460
|
:size="size"
|
|
462
461
|
:label="label"
|
|
463
462
|
:error="error"
|
|
@@ -583,7 +582,12 @@ const {
|
|
|
583
582
|
@binding {object} options
|
|
584
583
|
-->
|
|
585
584
|
<slot name="selected-options" :options="multiple ? selectedOptions.full : selectedOption">
|
|
586
|
-
<span
|
|
585
|
+
<span
|
|
586
|
+
v-if="!multiple"
|
|
587
|
+
v-bind="selectedLabelsAttrs"
|
|
588
|
+
@click.stop="toggle"
|
|
589
|
+
@mousedown.prevent
|
|
590
|
+
>
|
|
587
591
|
<!--
|
|
588
592
|
@slot Use it to customize selected option.
|
|
589
593
|
@binding {string} label
|
|
@@ -604,7 +608,7 @@ const {
|
|
|
604
608
|
</slot>
|
|
605
609
|
</span>
|
|
606
610
|
|
|
607
|
-
<div v-else v-bind="selectedLabelsAttrs">
|
|
611
|
+
<div v-else v-bind="selectedLabelsAttrs" @click.stop="toggle" @mousedown.prevent>
|
|
608
612
|
<template v-if="isMultipleInlineVariant">
|
|
609
613
|
<div :title="selectedOptionsLabel.full" v-bind="selectedLabelAttrs">
|
|
610
614
|
<template v-for="(option, index) in selectedOptions.visible" :key="index">
|
|
@@ -664,7 +668,6 @@ const {
|
|
|
664
668
|
:size="size"
|
|
665
669
|
variant="subtle"
|
|
666
670
|
v-bind="badgeLabelAttrs"
|
|
667
|
-
@click.stop="toggle"
|
|
668
671
|
>
|
|
669
672
|
<div v-bind="selectedLabelTextAttrs">
|
|
670
673
|
{{ option[labelKey] }}
|