﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30440	"Temporary ""required"" attr is not removed if the browser doesn't supported "":valid"" selector."	Ben Muschol	Ben Muschol	"The code in question: https://github.com/django/django/blob/stable/2.2.x/django/contrib/admin/static/admin/js/SelectFilter2.js#L175

If an error is thrown on line 181, the attribute is never removed. This leads to incorrect form validation when submitting.

I believe this would be fixed by moving the ""field.removeAttr('required');"" outside of the try/catch block

Steps to reproduce:

1. Use a browser which does not support :valid pseudo-selector (I am using Chrome 73 on Mac)

2. Open a page with the filtered multiple select field

3. Submit the form without making any changes

4. The browser will erroneously preform the ""Missing required element"" validation"	Cleanup/optimization	closed	contrib.admin	dev	Normal	fixed	admin select selectfilter filteredselectfield	David Sanders	Accepted	1	0	0	0	1	0
