Note that looks like a form but it is not. From what I understand from then on there's two ways to tackle this issue: A. For every input in the modal with a correct type, add an eventListener that will trigger the submit button. B. Add a form structure to the macro edit modal. Note that this might break some modals that use buttons without `type=button`. This might be part of the API so I'm not sure it's such a good idea... Solution A is a hard coded custom solution so it will be more difficult to maintain, but solution B. might break some extensions and macros. |