#33386: Autocomplete on refresh with Firefox interacts badly with
ModelMultipleChoiceField in forms
-------------------------------------+-------------------------------------
Reporter: Pietro Brenna | Owner: Eknath
| Baravkar
Type: Bug | Status: assigned
Component: Forms | Version: 3.2
Severity: Normal | Resolution:
Keywords: firefox | Triage Stage: Ready for
| checkin
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Eknath Baravkar):
* stage: Accepted => Ready for checkin
Comment:
we can disable autocomplete field in python django as below:
hidden_widget = MultipleHiddenInput(attrs={'autocomplete': 'off'})
widget = SelectMultiple(attrs={'autocomplete': 'off'})
As well as we have one more option to set widget-
autocomplete = False like is_localized = False, is_required = False and so
on..
--
Ticket URL: <https://code.djangoproject.com/ticket/33386#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701854cfbdcaa-7bd319f0-6bc5-485d-a1ab-5cea7aa0bccb-000000%40eu-central-1.amazonses.com.