From 8ce9978ee1569a9789145826c03a8eb4c5300602 Mon Sep 17 00:00:00 2001 From: Leopoldthecoder Date: Wed, 28 Mar 2018 17:48:09 +0800 Subject: [PATCH] Input: pass native types to input element --- packages/input/src/input.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/input/src/input.vue b/packages/input/src/input.vue index d0251f577..ebcdcbc80 100644 --- a/packages/input/src/input.vue +++ b/packages/input/src/input.vue @@ -24,6 +24,7 @@ v-if="type !== 'textarea'" class="el-input__inner" v-bind="$attrs" + :type="type" :disabled="inputDisabled" :autocomplete="autoComplete" :value="currentValue"