summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJimmy Huynh <jimmy.huynh@etu.unistra.fr>2021-01-28 15:01:47 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 23:17:31 +0200
commit4940897b331560b1f6857b5893caa877df76d3b6 (patch)
treee1a7f1398d113c1a84bb2eaf8d937ff6fb2798f6 /templates
parentb7527a7b81cc515805b6da1b56faa33c113d0def (diff)
(+) adding tempo to autocomplete
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 5d00b0a0f..6a8be318c 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -103,10 +103,11 @@
ng-controller="ShareController as Share">
<!-- Contact -->
<p class="label-group">Contacts</p>
- <form ng-submit="" name="contactForm">
+ <form ng-submit="" name="contactForm" autocomplete="off">
<fieldset>
<input
ng-model="nameQuery"
+ ng-model-options="{debounce: 400}"
ng-change="Share.searchUsers(nameQuery)"
type="text"
class="contact-input"
@@ -114,9 +115,6 @@
title="Nom de contact"
name="contactName"
required>
- <input type="submit"
- value="Ajouter"
- class="primary">
</fieldset>
</form>