Skip to content

Releases: x-govuk/govuk-form-builder

Version 1.2.4

02 Jul 13:33
d352778
Compare
Choose a tag to compare
  • Allow custom classes to be set on govuk_select and add documentation for undocumented args (options and html_options), thanks to @david-mears-dfe for reporting this #154
  • Continuing the large refactor and simplification #151
  • Dependabot updates to rubocop, rouge and sassc #156, #155, #157

Version 1.2.3

27 Jun 15:10
f84dabb
Compare
Choose a tag to compare
  • 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

25 Jun 19:14
668c8e7
Compare
Choose a tag to compare
  • Fix minor formatting bug where trailing whitespace was being added to a HTML attribute. Thanks to @zheileman for reporting #147

Version 1.2.1

24 Jun 18:14
3a7830f
Compare
Choose a tag to compare
  • Add support for disabled submit buttons. Many thanks @cpjmcquillan 👍 #144
  • Internal refactor and simplification of the HTML-building process #145

Version 1.2.0

06 Jun 10:19
6fd5116
Compare
Choose a tag to compare
  • 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

20 May 13:52
27623ea
Compare
Choose a tag to compare
  • 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

30 Apr 12:19
b7f6d60
Compare
Choose a tag to compare
  • Fix a bug where translation missing errors were being incorrectly triggered when config.i18n.fallbacks = true was set in the config. Thanks to @aliuk2012 for raising and helping debug this #115
  • Update govuk-rubocop and pin to version 3.7 #117

Version 1.1.9

03 Apr 14:23
d5b27d4
Compare
Choose a tag to compare
  • 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

03 Apr 12:04
d73493b
Compare
Choose a tag to compare
  • 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

30 Mar 15:30
77d8012
Compare
Choose a tag to compare
  • Remove the govuk-form-group container from govuk_submit helper. It was not part of the design system and created additional unwanted spacing around the button. Thanks @duncanjbrown #105