You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding one would allow you to define small, reusable FlaskForm objects with a bunch of fields (kind of like a pattern). This should reduce duplicated code.
There is currently no widget for the
FormField
(https://wtforms.readthedocs.io/en/2.3.x/fields/#field-enclosures) enclosure to group form fields.Adding one would allow you to define small, reusable
FlaskForm
objects with a bunch of fields (kind of like a pattern). This should reduce duplicated code.The initial code I produced to test this was:
You could then use the
GovukFieldsetWidget
to create a group of fields as a single form where that "pattern" could be validated separately:The text was updated successfully, but these errors were encountered: