Releases: x-govuk/govuk-form-builder
Releases · x-govuk/govuk-form-builder
Version 1.2.4
Version 1.2.3
- Fix a bug where captions (#135) from the radio button fieldset were leaking into the contained radio button labels. Thanks @zheileman for diagnosing and fixing this! #149
- Add another set of HTML formatting specs that ensure attributes are correctly-formatted and contain no double spaces
Version 1.2.2
- Fix minor formatting bug where trailing whitespace was being added to a HTML attribute. Thanks to @zheileman for reporting #147
Version 1.2.1
- Add support for disabled submit buttons. Many thanks @cpjmcquillan 👍 #144
- Internal refactor and simplification of the HTML-building process #145
Version 1.2.0
- Officially support GOV.UK Design System 3.7.0 #140
- Add support for using the form builder with other design systems by allowing the class and attribute prefixes (
govuk-
) to be changed throughout via a configuration option #127 - Add full support for adding captions to labels and legends, also make both labels and legends more flexible by allowing them to be set using a proc #135
- Improve the documentation around setting the
link_errors
when using#govuk_check_boxes_fieldset
and#govuk_radio_buttons_fieldset
#131 - Upgrade supported versions of Ruby (
2.7.1
,2.6.6
,2.5.8
) and Rails (6.0.3
,5.2.4
) #141
Version 1.1.11
- Allow custom classes to be passed into
#govuk_submit
, thanks @cpjmcquillan #128 - Add support for localised radio button and checkbox values, thanks @zheileman #125
- Allow fieldset legends to be visually hidden, thanks again @zheileman #123
- Improve documentation around content injection #122
- Fix a bug where fieldset legends rendered directly (via
#govuk_fieldset
) weren't being rendered in templates but were everywhere else. Thanks to @aldavidson and @jebw for reporting and testing #130 - Fix CodeClimate's
simplecov
integration #120
Version 1.1.10
- Fix a bug where
translation missing
errors were being incorrectly triggered whenconfig.i18n.fallbacks = true
was set in the config. Thanks to @aliuk2012 for raising and helping debug this #115 - Update
govuk-rubocop
and pin to version3.7
#117
Version 1.1.9
- Improve the ordering of checkbox and radio button elements, now the hints are closer to the inputs and the supplemental content is higher up, beneath the label/legend
Version 1.1.8
- Reorder the elements of all inputs so that hints and errors appear alongside the inputs and injected (supplemental) content appears beneath the label/legend. This is more inkeeping with the intentions of the design system. Thanks @simcast, @zheileman for bringing this to my attention. #111, #112
- Update several gems to their latest versions #107, #108, #109, #111
Version 1.1.7
- Remove the
govuk-form-group
container fromgovuk_submit
helper. It was not part of the design system and created additional unwanted spacing around the button. Thanks @duncanjbrown #105