mirror of
https://github.com/django/django.git
synced 2025-12-23 09:19:27 +00:00
In the admin's filter_horizontal widget, optional action buttons like "Choose all", "Remove all", etc. were changed from `<a>` to `<button>` elements in #34619, but without specifying `type="button"`. As a result, when pressing Enter while focused on a form input, these buttons could be triggered and intercept form submission. Explicitly set `type="button"` on these control buttons to prevent them from acting as submit buttons. Thanks Antoliny Lee for the quick triage and review. Regression in |
||
|---|---|---|
| .. | ||
| actions.test.js | ||
| core.test.js | ||
| DateTimeShortcuts.test.js | ||
| inlines.test.js | ||
| jsi18n-mocks.test.js | ||
| navigation.test.js | ||
| RelatedObjectLookups.test.js | ||
| SelectBox.test.js | ||
| SelectFilter2.test.js | ||
| URLify.test.js | ||