@eturnity/eturnity_reusable_components 7.39.4--EPDM-12129.0 → 7.39.4--EPDM-12129.1
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
<LabelWrapper
|
14
14
|
v-if="label"
|
15
15
|
:data-id="labelDataId"
|
16
|
+
:data-test-id="dataTestId"
|
16
17
|
:info-text-message="!!infoTextMessage || !!$slots.infoText"
|
17
18
|
>
|
18
19
|
<InputLabel
|
@@ -44,6 +45,7 @@
|
|
44
45
|
"
|
45
46
|
class="select-button"
|
46
47
|
:data-id="dataId"
|
48
|
+
:data-test-id="dataTestId"
|
47
49
|
:disabled="disabled"
|
48
50
|
:font-color="
|
49
51
|
buttonFontColor || colorMode == 'dark' ? 'white' : 'black'
|
@@ -553,6 +555,10 @@
|
|
553
555
|
type: String,
|
554
556
|
default: '',
|
555
557
|
},
|
558
|
+
dataTestId: {
|
559
|
+
type: String,
|
560
|
+
default: '',
|
561
|
+
},
|
556
562
|
hasSelectButtonPadding: {
|
557
563
|
required: false,
|
558
564
|
type: Boolean,
|
@@ -613,7 +619,7 @@
|
|
613
619
|
if (this.isDropdownOpen) {
|
614
620
|
return this.$refs.dropdown.$el.childElementCount > 1
|
615
621
|
? this.$refs.dropdown.$el.childElementCount
|
616
|
-
:
|
622
|
+
: this.$refs.dropdown.$el.children[0]
|
617
623
|
? this.$refs.dropdown.$el.children[0].childElementCount
|
618
624
|
: 0
|
619
625
|
}
|