Commit tested, both on the generic example listed above and a separate webform-based model. Both successfully set the validation error on the entire form without a field name listed.
jwineichen β created an issue.
jwineichen β created an issue. See original summary β .
#8 worked for me as well
While this is still getting a stable release, I've been using Twig Tweak which allows for some of the basic functionality by writing twig code into a custom text field in the view. There's documentation here: https://www.drupal.org/docs/contributed-modules/twig-tweak-2x/twig-tweak... β . However, there is a bug in 10.3 that I was able to get around by escaping the argument following this comment: https://www.drupal.org/project/twig_tweak/issues/3457069#comment-15692762 π drupal_view breaks in 10.3 Active .
tekNorah β credited jwineichen β .
This also works in Drupal 10. Thanks from 9 years in the future.
drunken monkey β credited jwineichen β .
I've attempted to put this change into a patch. First time but I've tried to follow the patching documentation, so I think it's correct. It seems to be working on my local.