﻿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
34335	Spurious error when using label_tag of CheckboxSelectMultiple widget	Mark Theng	nobody	"In the `label_tag` method of BoundField, if `attrs == None` and `id_for_label == """"` (as is possible with CheckboxSelectMultiple/RadioSelect), it is possible for the attrs passed into the context to be None. `attrs.items` is used directly in the `attrs.html` template without checking if `attrs` exists, resulting in the error `django.template.base.VariableDoesNotExist: Failed lookup for key [items] in None`.

This would be easily fixed by either passing `attrs or {}` into the context in the `label_tag` method, or adding an `if attrs` guard in `attrs.html`.

I have checked that this issue still exists on the main branch."	Bug	closed	Forms	dev	Normal	wontfix			Unreviewed	0	0	0	0	0	0
