From 6a7ee02f5994c65bbefe92a3da74f22326970cf9 Mon Sep 17 00:00:00 2001 From: Matthias Kestenholz Date: Wed, 15 Jan 2025 21:04:26 +0100 Subject: Fixed #35521 -- Allowed overriding BoundField class on fields, forms and renderers. Thank you Sarah Boyce, Carlton Gibson, Tim Schilling and Adam Johnson for reviews. Co-authored-by: Christophe Henry Co-authored-by: David Smith Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Matthias Kestenholz --- docs/ref/forms/api.txt | 106 ++++++++++++++++++++++++++++++++++++++----- docs/ref/forms/fields.txt | 22 ++++++++- docs/ref/forms/renderers.txt | 12 +++++ 3 files changed, 127 insertions(+), 13 deletions(-) (limited to 'docs/ref/forms') diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 1b1ecbec6c..9b827ca69a 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -822,6 +822,9 @@ classes, as needed. The HTML will look something like: >>> f["subject"].legend_tag(attrs={"class": "foo"}) Subject: +You may further modify the rendering of form rows by using a +:ref:`custom BoundField `. + .. _ref-forms-api-configuring-label: Configuring form elements' HTML ``id`` attributes and ``