🍱 Met à jour le js pour l'encryption de bout en bout
This commit is contained in:
@@ -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>
|
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user