﻿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
34864	Add ability to customise script tags for form media	Tom Carrick	nobody	"It would be useful to be able to add `defer`, `integrity`, `type=""module""`, etc. onto the script tags generated by form media.

I couldn't find a way to do this currently. Perhaps something like this:

{{{
class MyForm(forms.Form):
    class Media:
        js = [
            {""src"": ""js/foo.js"", ""defer"": True, ""type"": ""module""},
            ""js/bar.js"",
        ]
}}}

Not sure if we should allow arbitrary stuff to be added or just choose the options that are reasonable"	New feature	closed	Forms	dev	Normal	duplicate			Unreviewed	0	0	0	0	0	0
