8282-testToMaster #1057

Merged
alexm merged 215 commits from 8282-testToMaster into master 2024-12-10 06:23:36 +00:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 86d19218de - Show all commits

View File

@ -34,6 +34,10 @@ const $props = defineProps({
type: Boolean,
default: true,
},
insertable: {
type: Boolean,
default: false,
},
});
const vnInputRef = ref(null);
@ -82,7 +86,7 @@ const mixinRules = [
const insertMode = ref(false);
const handleKeydown = (e) => {
if (e.key === 'Insert') {
if ($props.insertable && e.key === 'Insert') {
insertMode.value = !insertMode.value;
}
if (insertMode.value && e.key !== 'Insert') {

View File

@ -105,6 +105,7 @@ function handleLocation(data, location) {
:label="t('supplier.fiscalData.account')"
clearable
data-cy="supplierFiscalDataAccount"
insertable
/>
<VnSelect
:label="t('supplier.fiscalData.sageTaxTypeFk')"