|
@@ -99,8 +99,9 @@
|
|
|
>
|
|
|
<component :is="triggerIcon" />
|
|
|
</el-icon>
|
|
|
+ <!-- id && id[0]-->
|
|
|
<input
|
|
|
- :id="id && id[0]"
|
|
|
+ :id="(id as string | undefined)"
|
|
|
autocomplete="off"
|
|
|
:name="name && name[0]"
|
|
|
:placeholder="startPlaceholder"
|
|
@@ -108,6 +109,7 @@
|
|
|
:disabled="pickerDisabled"
|
|
|
:readonly="!editable || readonly"
|
|
|
:class="nsRange.b('input')"
|
|
|
+ :data-test="(id as string | undefined)"
|
|
|
@click="handleClickInput"
|
|
|
@mousedown="onMouseDownInput"
|
|
|
@input="handleStartInput"
|
|
@@ -118,6 +120,7 @@
|
|
|
<slot name="range-separator">
|
|
|
<span :class="nsRange.b('separator')">{{ rangeSeparator }}</span>
|
|
|
</slot>
|
|
|
+ <!-- id && id[1]-->
|
|
|
<input
|
|
|
:id="id && id[1]"
|
|
|
autocomplete="off"
|