🇪🇸Spain jeepster
Yes, the problem wasn't in this code.
The problem was I printed this form from a twig loaded by ajax; so I changed the order, rendering the form in the base page and showing it when the second twig was opened.
I hope this help.
🇪🇸Spain jeepster
Ok, I'll try it in Slack. Thank you for your suggestion
🇪🇸Spain jeepster
Isn't Drupal 9 in general still maintained? I change it again, I don't see anything incompatible between my code and D9.
I am sorry, did I bothered you with my doubt?
🇪🇸Spain jeepster
🇪🇸Spain jeepster
jeepster → created an issue.