BoundWidget.id for label ignores id set by ChoiceWidget.options Description
BoundWidget.id for label ignores id set by ChoiceWidget.options Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). If you look at the implementation of BoundField.subwidgets class BoundField: ... def subwidgets(self): id = self.field.widget.attrs.get('id') or self.auto id attrs =…
The task
If you look at the implementation of BoundField.subwidgets class BoundField: ... def subwidgets(self): id_ = self.field.widget.attrs.get('id') or self.auto_id attrs = {'id': id_} if id_ else {} attrs = self.build_widget_attrs(attrs) return [ BoundWidget(self.field.widget, widget, self.form.renderer) for widget in…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.