[Rt-commit] rt branch, 4.4/emailinput-autocomplete-exclude, created. rt-4.4.4-82-ga0be6ffa08
? sunnavy
sunnavy at bestpractical.com
Wed Oct 28 10:23:31 EDT 2020
The branch, 4.4/emailinput-autocomplete-exclude has been created
at a0be6ffa08ec2b79b93be3186e20788753ae0d6a (commit)
- Log -----------------------------------------------------------------
commit a0be6ffa08ec2b79b93be3186e20788753ae0d6a
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..6959b4c639 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