From 17c70fc0ef380d1faa360aa5b91791fd44d6c419 Mon Sep 17 00:00:00 2001
From: Xiaofeng An <futureweb2020@yandex.com>
Date: Fri, 8 Feb 2019 11:02:28 -0500
Subject: add id & placeholder props to AutoCompleteInput component

---
 src/components/autocomplete_input/autocomplete_input.vue | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(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 d3bda597..309f2202 100644
--- a/src/components/autocomplete_input/autocomplete_input.vue
+++ b/src/components/autocomplete_input/autocomplete_input.vue
@@ -4,9 +4,10 @@
       v-if="multiline"
       ref="textarea"
       :value="text"
+      :id="id"
       @input="text = $event.target.value, $emit('input', $event.target.value), autoResize && resize($event)" 
       @click="setCaret"
-      @keyup="setCaret" :placeholder="$t('post_status.default')" rows="1" :class="classObj"
+      @keyup="setCaret" :placeholder="placeholder" rows="1" :class="classObj"
       @keydown.down="cycleForward"
       @keydown.up="cycleBackward"
       @keydown.shift.tab="cycleBackward"
-- 
cgit v1.2.3-70-g09d2

