8452-testToMaster #1292

Merged
alexm merged 394 commits from 8452-testToMaster into master 2025-01-28 06:44:16 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8d1a095302 - Show all commits

View File

@ -31,7 +31,7 @@ export default {
console.error(error);
}
form.addEventListener('keyup', function (evt) {
if (evt.key === 'Enter') {
if (evt.key === 'Enter' && !that.$attrs['prevent-submit']) {
const input = evt.target;
if (input.type == 'textarea' && evt.shiftKey) {
evt.preventDefault();