[Rt-commit] rt branch, 4.4/emailinput-autocomplete-exclude, created. rt-4.4.4-82-geb2f32f530

Craig Kaiser craig at bestpractical.com
Wed Jan 8 10:25:38 EST 2020


The branch, 4.4/emailinput-autocomplete-exclude has been created
        at  eb2f32f530515ddf7b53c447f405746540b77507 (commit)

- Log -----------------------------------------------------------------
commit eb2f32f530515ddf7b53c447f405746540b77507
Author: Craig Kaiser <craig at bestpractical.com>
Date:   Wed Jan 8 10:22:24 2020 -0500

    Allow for string of user IDs to be passed for exclusion from autocomplete results

diff --git a/share/html/Elements/EmailInput b/share/html/Elements/EmailInput
index 078a2870c4..b38fe48e74 100644
--- a/share/html/Elements/EmailInput
+++ b/share/html/Elements/EmailInput
@@ -79,6 +79,10 @@
     data-autocomplete-include-system
 % }
 
+if ($Exclude) {
+    data-autocomplete-exclude="<% $Exclude %>"
+}
+
 />
 % if ($EntryHint) {
 <br>
@@ -97,4 +101,5 @@ $AutocompleteNobody => 0
 $AutocompleteSystem => 0
 $EntryHint => ''
 $Placeholder => ''
+$Exclude     => undef
 </%ARGS>

-----------------------------------------------------------------------


More information about the rt-commit mailing list