[Rt-commit] rt branch, 4.2/autocomplete-email-input, created. rt-4.1.8-572-ge1ec7ad

? sunnavy sunnavy at bestpractical.com
Tue Jun 11 13:17:42 EDT 2013


The branch, 4.2/autocomplete-email-input has been created
        at  e1ec7ad55cfe1504cf789a0f8819d2d365b8a06b (commit)

- Log -----------------------------------------------------------------
commit e1ec7ad55cfe1504cf789a0f8819d2d365b8a06b
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Jun 11 20:16:38 2013 +0800

    Autocomplete support for /Elements/EmailInput

diff --git a/share/html/Elements/EmailInput b/share/html/Elements/EmailInput
index 2830a72..9f201b0 100644
--- a/share/html/Elements/EmailInput
+++ b/share/html/Elements/EmailInput
@@ -45,9 +45,10 @@
 %# those contributions and any derivatives thereof.
 %#
 %# END BPS TAGGED BLOCK }}}
-<input type="text" id="<% $Name %>" name="<% $Name %>" <% defined $Size ? qq{size="$Size"} : '' |n %> value="<% $Default || '' %>" />
+<input type="text" id="<% $Name %>" name="<% $Name %>" <% defined $Size ? qq{size="$Size"} : '' |n %> value="<% $Default || '' %>" <% $Autocomplete ? q{data-autocomplete="Users" data-autocomplete-return="Email"} : '' |n%> />
 <%ARGS>
 $Name
 $Size    => 40
 $Default => ''
+$Autocomplete => 1
 </%ARGS>

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


More information about the Rt-commit mailing list