- Issue created by @superlolo95
- πΊπΈUnited States andileco
Can you double-check it's not supposed to be
$chart['#wrapper_attributes']
(including an s at the end)? - you are right my code is wrong
$chart['#wrapper_attributes'] = [ 'id' =>'test-id', 'class'] =>'test-class', ['custom-attribute'] =>'test-custom-attribute', ];
But it seems that this is not working for other types of elements.
I am using them in a webform. So maybe it is related to webform.- Status changed to Closed: works as designed
12 months ago 3:06am 10 January 2024