From e8dc019afd31981295fbf79637727fb4ce34a072 Mon Sep 17 00:00:00 2001
From: Xiaofeng An <futureweb2020@yandex.com>
Date: Fri, 8 Feb 2019 11:10:47 -0500
Subject: remove rows attribute from input

---
 src/components/autocomplete_input/autocomplete_input.vue | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

(limited to 'src/components/autocomplete_input/autocomplete_input.vue')

diff --git a/src/components/autocomplete_input/autocomplete_input.vue b/src/components/autocomplete_input/autocomplete_input.vue
index 44324e23..5f285af0 100644
--- a/src/components/autocomplete_input/autocomplete_input.vue
+++ b/src/components/autocomplete_input/autocomplete_input.vue
@@ -3,11 +3,11 @@
     <textarea
       v-if="multiline"
       ref="textarea"
-      :value="text"
-      :id="id"
+      rows="1"
+      :value="text" :class="classObj" :id="id" :placeholder="placeholder"
       @input="text = $event.target.value, $emit('input', $event.target.value), autoResize && resize($event)" 
       @click="setCaret"
-      @keyup="setCaret" :placeholder="placeholder" rows="1" :class="classObj"
+      @keyup="setCaret"
       @keydown.down="cycleForward"
       @keydown.up="cycleBackward"
       @keydown.shift.tab="cycleBackward"
@@ -22,11 +22,10 @@
     <input
       v-else
       ref="textarea"
-      :value="text"
-      :id="id"
+      :value="text" :class="classObj" :id="id" :placeholder="placeholder"
       @input="text = $event.target.value, $emit('input', $event.target.value), autoResize && resize($event)" 
       @click="setCaret"
-      @keyup="setCaret" :placeholder="placeholder" rows="1" :class="classObj"
+      @keyup="setCaret"
       @keydown.down="cycleForward"
       @keydown.up="cycleBackward"
       @keydown.shift.tab="cycleBackward"
-- 
cgit v1.2.3-70-g09d2

