8389-testToMaster #1207

Merged
alexm merged 180 commits from 8389-testToMaster into master 2025-01-14 06:32:35 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 5a58012f80 - 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();