diff --git a/modules/luci-base/luasrc/view/cbi/value.htm b/modules/luci-base/luasrc/view/cbi/value.htm
index c8c905eb11..942ab72e77 100644
--- a/modules/luci-base/luasrc/view/cbi/value.htm
+++ b/modules/luci-base/luasrc/view/cbi/value.htm
@@ -1,10 +1,16 @@
<%+cbi/valueheader%>
+ <%- if self.password then -%>
+ />
+ <%- end -%>
0, "data-choices", { self.keylist, self.vallist })
%> />
- <% if self.password then %><% end %>
+ <%- if self.password then -%>
+