﻿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
33166	"Add ""field"" to the context when rendering widgets."	Jacob Rief	Jacob Rief	"Unsure if this shall be a feature request, but I noticed that when rendering a field label, the template's rendering context additionally contains the `field`- and the `form`-object. If however, I render the widget itself, this information is not available inside the widget's template rendering context. Apart from this inconsistency, being able to access the `field`- and/or the `form`-object, when rendering a widget is really useful.

Example:
I would like to use the `form`-attribute inside some `<input …>`-widgets, so that each field can refer to its corresponding form. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-form for details. The `form`-object itself provides a name, which is used as the `<form id=""…"" …>`. Therefore each widget has to know their form's name. This information currently can not be determined inside the widget's template."	New feature	closed	Forms	4.0	Normal	wontfix	form, widget, context	David Smith Sarah Boyce	Unreviewed	0	0	0	0	0	0
