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
The workaround at the moment is, in these cases, to not use the fieldset legend to include the header, but instead to render the header (and any content in between this and the radios) separately, and then set the legend to visually hidden.
Or, in this case in particular, to change the little paragraph to hint text. But in other scenarios, this might not work out well. Example:
The text was updated successfully, but these errors were encountered:
Hey @zheileman, I think I've fixed this in #103. If you're using the #govuk_radio_buttons_fieldset/#govuk_check_boxes_fieldset variants this is slightly more complicated and might necessitate adding a new helper to the builder so users can place them exactly where they want them. That's a more substantial change and will take some time.
However, for the problem described in the bug report I think the tools to fix it are now in place. Please let me know and I'll get a release out today.
Hi @peteryates, thank you very much. Yes this solves the mentioned issue. I've not gone too far with the gem, I've just started using it for a legacy project (built with form elements) that we intend to migrate to the new design system.
We don't need this fix released any time soon, so feel free to accommodate this change any way you see fit 👍
Example with right position of error message:
Example using the gem and an injected paragraph:
The workaround at the moment is, in these cases, to not use the fieldset legend to include the header, but instead to render the header (and any content in between this and the radios) separately, and then set the legend to visually hidden.
Or, in this case in particular, to change the little paragraph to hint text. But in other scenarios, this might not work out well. Example:
The text was updated successfully, but these errors were encountered: