7118_testToMaster_2412 #249

Merged
alexm merged 178 commits from 7118_testToMaster_2412 into master 2024-03-21 06:34:44 +00:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 9f1abf5cde - Show all commits

View File

@ -1,5 +1,5 @@
<script setup>
import { ref, onMounted } from 'vue';
import { ref, onMounted, nextTick } from 'vue';
import { useRoute } from 'vue-router';
import { useI18n } from 'vue-i18n';
@ -13,11 +13,11 @@ const supplierContactRef = ref(null);
const insertRow = () => {
supplierContactRef.value.insert();
setTimeout(() => {
nextTick(() => {
const inputs = document.querySelectorAll('[input-name-focusable]');
const lastInput = inputs[inputs.length - 1];
if (lastInput) lastInput.focus();
}, 5);
});
};
onMounted(() => {