- Issue created by @plits
- π«π·France S3b0uN3t Nantes
Hello,
This behavior change was specifically planned for 1.4.4 by systematically defining a default value for each "variant" property. To reproduce this bug, could you provide a concrete example (with the values ββfor the props used)?Regards
- π«π·France plits
Salut s3b0un3t :)
Attached module to reproduce issue against 1.4.4
drush en component_debug -y
Navigate to /component-debug/button =>
Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("[dsfr4drupal:button/variant] Does not have a value in the enumeration ["secondary","tertiary"]. The provided value is: "".") in "dsfr4drupal:button" at line 1. in Twig\Template->yield() (line 1 of themes/contrib/dsfr4drupal/components/button/button.twig).
Thanks !
- π«π·France S3b0uN3t Nantes
Thanks for your feedback. Iβm currently in vacation without computer.
I have forwarded the issue to the other maintainers to look it soon.