DatePicker: turn off autocomplete for date picker range (#12521)

pull/12525/head
Abdalla Nayer 2018-08-27 17:04:28 +02:00 committed by Jikkai Xiao
parent 3d3a2233ee
commit c782b0dc8e
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@
v-else>
<i :class="['el-input__icon', 'el-range__icon', triggerClass]"></i>
<input
autocomplete="off"
:placeholder="startPlaceholder"
:value="displayValue && displayValue[0]"
:disabled="pickerDisabled"
@ -60,6 +61,7 @@
class="el-range-input">
<span class="el-range-separator">{{ rangeSeparator }}</span>
<input
autocomplete="off"
:placeholder="endPlaceholder"
:value="displayValue && displayValue[1]"
:disabled="pickerDisabled"