- 🇺🇸United States loze Los Angeles
this seems to be an issue with any drupal form in a dialog, not specific to this module.
I was able to make it work by adding this to my themes js.
$(window).on('dialog:aftercreate', function (event, dialog, $element, settings) { const $button = $element.find('input[type="submit"]').first(); if($button.length) { $element.on('keypress', function (ev) { if (ev.keyCode == 13) { ev.preventDefault(); $button.mousedown(); } }); } });
I got the idea from here https://www.drupal.org/project/entity_browser/issues/2887697 →