use template for custom styling of multiple subfield multivalue form element widget drupal 10


[Tips & Tricks] Drupal 10: How to render any form in a Twig Template

That blog actually demonstrated the secret, which is to use ‘render element’ not ‘variables’ in the theme hook.

It’s always been that way, it seems: Drupal8: Render form in a Twig Template |

Maybe would have been helpful, if we weren’t trying to do an element’s widget (not a whole form) and have our own module and so justifying a new template: Themable forms |

Found the issue and patcht to ad documentaion before i found the documentation…

Maybe report back at: