A standard checkbox element with a description was being printed in 8.x-5.0-rc16. But when updating to 8.x-5.0-rc17 the html tags for the description are being printed but not the value.
I only get this:
when i print my element with following code: {{ element.elements.privacy_policy }}
But when i use this code to print the description only, it works: {{ element.elements.privacy_policy['#description']['#text']|raw }}
Not sure if i'm doing something wrong here.
Comments
Comment #2
seppe beelprez commentedComment #3
jrockowitz commentedWhere are printing the description? A custom twig template?
Comment #4
jrockowitz commentedThe render array has changed for all webform related element descriptions.
@see #2983248: [accessibility] Improve element, details, and fieldset description handling
Comment #5
jrockowitz commentedComment #6
jrockowitz commented