- Issue created by @dahousecat
- Status changed to Closed: cannot reproduce
7 months ago 10:05am 16 April 2024 - 🇬🇧United Kingdom dahousecat
Module already has this.
I had a patch to remove it :(
The whole site just shows "The website encountered an unexpected error. Please try again later."
In the error log I see:
wig\Error\SyntaxError: Unknown "spaceless" tag. in Twig\Parser->subparse() (line 1 of /var/www/html/docroot/modules/contrib/form_options_attributes/templates/form-options-attributes--select--options-attributes.html.twig).
Enable and use form_options_attributes on D10
Use spaceless filter instead in Drupal 8 too to help new sites become compatible with Twig 3 / Drupal 10. https://twig.symfony.com/doc/3.x/filters/spaceless.html
Before:
{% spaceless %}
{% endspaceless %}
After:
{% apply spaceless %}
{% endapply %}
Closed: cannot reproduce
2.0
Code
Module already has this.
I had a patch to remove it :(