Skip to content

Commit 1b124b1

Browse files
committed
fix: no autocomplete for association partial
1 parent 760e3ab commit 1b124b1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

static/templates/partials/group-association-field-v2.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="mb-3 association">
22
<div class="input-group">
3-
<input type="text" name="roles" class="form-control" placeholder="Role" value="{./role}" {{{ if ./role }}}disabled{{{ end }}}>
3+
<input type="text" name="roles" class="form-control" placeholder="Role" value="{./role}" autocomplete="off" {{{ if ./role }}}disabled{{{ end }}}>
44
<span class="input-group-addon">&rarr;</span>
55
<select class="form-control" name="groups" data-value="{./group}">
66
{{{ each groupNames }}}

static/templates/partials/group-association-field.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="mb-3 association">
22
<div class="input-group">
3-
<input type="text" name="roles" class="form-control" placeholder="Role" value="{./role}" {{{ if ./role }}}disabled{{{ end }}}>
3+
<input type="text" name="roles" class="form-control" placeholder="Role" value="{./role}" autocomplete="off" {{{ if ./role }}}disabled{{{ end }}}>
44
<span class="input-group-text">&rarr;</span>
55
<select class="form-control" name="groups" data-value="{./group}">
66
{{{ each groupNames }}}

0 commit comments

Comments
 (0)