]> BookStack Code Mirror - bookstack/blobdiff - resources/js/vues/components/autosuggest.js
Added tests and translations for dark-mode components
[bookstack] / resources / js / vues / components / autosuggest.js
index b809313cb641cc0b723e334f510542fb045975a2..9832a9eb407b3a3982d42d0e1bb7619e122b2708 100644 (file)
@@ -3,6 +3,7 @@ const template = `
     <div>
         <input :value="value" :autosuggest-type="type" ref="input"
             :placeholder="placeholder" :name="name"
+            type="text"
             @input="inputUpdate($event.target.value)" @focus="inputUpdate($event.target.value)"
             @blur="inputBlur"
             @keydown="inputKeydown"
@@ -14,7 +15,6 @@ const template = `
                 :class="{active: (i === active)}">{{suggestion}}</li>
         </ul>
     </div>
-    
 `;
 
 function data() {