Skip to content

Commit

Permalink
turn off autocomplete for active
Browse files Browse the repository at this point in the history
  • Loading branch information
hmpf committed Jan 22, 2025
1 parent 36d4ae1 commit af59dfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/argus/htmx/notificationprofile/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def __init__(self, *args, **kwargs):

self.fields["timeslot"].queryset = Timeslot.objects.filter(user=user)
self.fields["active"].widget.attrs["class"] = "checkbox checkbox-sm checkbox-accent border"
self.fields["active"].widget.attrs["autocomplete"] = "off"
self.fields["name"].widget.attrs["class"] = "input input-bordered"

self.action = self.get_action()
Expand Down

0 comments on commit af59dfc

Please sign in to comment.