8197-fix_searchbar_teleport #1204

Merged
alexm merged 6 commits from 8197-fix_searchbar_teleport into test 2025-01-15 11:05:34 +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();