🍱 Met à jour le js pour l'encryption de bout en bout

This commit is contained in:
2019-10-08 17:10:11 +02:00
parent 842cfec0dd
commit 407b7c2774
5 changed files with 98 additions and 50 deletions

View File

@@ -1,15 +0,0 @@
<template>
<div>
<Autocomplete hasLabel="false" id="message" name="message" rows="5" placeholder="Que s'est-il passé aujourd'hui ?" textarea="true" />
</div>
</template>
<script>
import Autocomplete from './Autocomplete.vue';
export default {
components: {
Autocomplete
}
}
</script>
<style scoped></style>

View File

@@ -28,7 +28,7 @@
props: ["items", "placeholder", "label", "textarea", "rows", "cols", "hasLabel", "name"],
data() {
return {
id: 'input-' + parseInt(Math.random() * 1000, 10),
id: 'input-' + (Math.random() * 1000 | 0),
inputValue: "",
searchMatch: [],
selectedIndex: 0,
@@ -70,7 +70,6 @@
watch: {
inputValue() {
this.focus();
console.log(this.inputSplitted)
this.selectedIndex = 0;
this.wordIndex = this.inputSplitted.length - 1;
}