mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-05 02:29:54 +00:00
Turn off browser's autocomplete for the category input
The datalist-based existing category suggestions still work.
This commit is contained in:
parent
2dbcb0dc27
commit
b540b94477
@ -22,7 +22,7 @@
|
||||
{{if .GivenPermissionToModify}}
|
||||
<li class="categories-card__entry categories-card__add-to-cat">
|
||||
<form method="POST" action="/add-to-category" class="categories-card__add-form js-add-cat-form">
|
||||
<input type="text" name="cat" id="_cat-name" class="js-add-cat-name"
|
||||
<input type="text" name="cat" id="_cat-name" class="js-add-cat-name" autocomplete="off"
|
||||
placeholder="{{block `placeholder` .}}Category name...{{end}}">
|
||||
<datalist class="js-add-cat-list" id="cat-name-options"></datalist>
|
||||
<input type="hidden" name="hypha" value="{{$hyphaName}}">
|
||||
|
Loading…
Reference in New Issue
Block a user