Skip to content

Commit

Permalink
turn off autocomplete for checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
hmpf committed Jan 17, 2025
1 parent 14c3ee1 commit 0177b93
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
{% endif %}
<input type="{{ widget.type }}"
name="{{ widget.name }}"
autocomplete="off"
{% if widget.value != None %} class="checkbox checkbox-sm checkbox-primary border" value="{{ widget.value|stringformat:'s' }}"{% endif %}
{% include "django/forms/widgets/attrs.html" %}>
{% if widget.wrap_label %}
Expand Down

0 comments on commit 0177b93

Please sign in to comment.