disable autocomplete for issue relations

Fri, 30 Dec 2022 19:14:04 +0100

author
Mike Becker <universe@uap-core.de>
date
Fri, 30 Dec 2022 19:14:04 +0100
changeset 264
7d67245e5121
parent 263
aa22103809cd
child 265
6a21bb926e02

disable autocomplete for issue relations

The reason is that autocomplete would suggest issues
from other projects. But we only want the datalist
to serve the suggestions.

src/main/webapp/WEB-INF/jsp/issue-view.jsp file | annotate | diff | comparison | revisions
--- a/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Fri Dec 30 19:04:34 2022 +0100
+++ b/src/main/webapp/WEB-INF/jsp/issue-view.jsp	Fri Dec 30 19:14:04 2022 +0100
@@ -194,7 +194,7 @@
             </select>
         </td>
         <td>
-            <input name="issue" list="linkable-issues">
+            <input name="issue" list="linkable-issues" autocomplete="off">
             <datalist id="linkable-issues">
                 <c:forEach var="linkableIssue" items="${viewmodel.linkableIssues}">
                     <option value="#${linkableIssue.id} - <c:out value="${linkableIssue.subject}"/> (<fmt:message key="issue.status.${linkableIssue.status}" />)"></option>

mercurial