Tbxforms

Latest version: v4.2.0

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

4.2.0

Fixed

- Conditional fields not working when applied to field objects (e.g. `Field.text`, `Field.checkboxes`) instead of container objects (e.g. `Div`, `Fieldset`) [95]

4.1.0

Added

- Error summary can be hidden [93]

Changed

- Small tweak to fieldset styles [93]

4.0.0

Changed

- Renamed `tbx` template directory and crispy forms template pack to `tbxforms` [92]

Fixed

- Conditional fields not working properly when there are multiple elements inspecting the same driving field [91]

Removed

- IE11 support [91]

3.0.0

Developer

- Guidance on how to update `govuk-frontend` [80]

Pinned packages updated

- `govuk-frontend` from 3.13.0 (possibly) to 5.4.1 [80]

Removed

Several CSS classes/mixins have been removed/renamed in this release, some of
which are vendor changes in `govuk-frontend`.

Unfortunately, the initial release of tbxforms customised the styles from
`govuk-frontend` without documentation - including which version was used as a
base. As a result, it's hard to distinguish between variables/mixins we
added which have now been removed and those which GDS have removed over time.

However, variables which have now been removed from our \_variables.scss are:

- `$tbxforms-border-colour-conditional` (no longer configurable; now using GDS' `$tbxforms-border-colour`) [80]
- `$tbxforms-border-width-conditional` (no longer configurable; now using GDS' `$tbxforms-border-width`) [80]
- `$tbxforms-weight--bold` (use `$tbxforms-font-weight-bold` instead) [80]
- `$tbxforms-weight--normal` (use `$tbxforms-font-weight-regular` instead) [80]
- `$tbxforms-grid` (no longer configurable; now using GDS' default spacing) [80]
- `$tbxforms-spacer` (no longer configurable; now using GDS' default spacing) [80]
- `$tbxforms-in-field-spacer` (no longer configurable; now using GDS' default spacing) [80]
- `$tbxforms-form-group-spacer` (no longer configurable; now using GDS' default spacing) [80]
- `$tbxforms-base-font-size` (use `$tbxforms-typography-scale` instead) [80]
- `$tbxforms-base-line-height` (use `$tbxforms-typography-scale` instead) [80]
- `$tbxforms-font-sizes` (use `$tbxforms-typography-scale` instead) [80]

2.1.0

Changed

- Allow required fields to be highlighted instead of optional ones [78]
- Allow markup in error messages [79]

Fixed

- Choice hints not showing on Django 5.x [69]

2.0.1

Pinned packages updated

- `vite` from 2.9.17 to 2.9.18 [77]
- `black` from 22.3.0 to 24.3.0 [77]
- `poetry` from 1.7.1 to 1.8.3 [77]

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.