#8718 hotfix-supplierSection #1549
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix-front#1549
Loading…
Reference in New Issue
No description provided.
Delete Branch "8718-hotfix-supplierSection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -80,3 +28,2 @@
<template>
<QInput @keydown="handleKeydown" ref="vnInputRef" v-model="internalValue" />
<VnInput
Las funciones que he borrado, ya las tiene vnInput, así no duplicamos código
@ -83,7 +83,7 @@ const mixinRules = [
requiredFieldRule,
...($attrs.rules ?? []),
(val) => {
const { maxlength } = vnInputRef.value;
Solo sirve si usas directamente VnInput, si hereda de otro no lo coge directamente
@ -165,17 +179,6 @@ const columns = computed(() => [
</template>
</VnTable>
</template>
<template #moreFilterPanel="{ params, searchFn }">
No es necesario.
@ -123,0 +122,4 @@
const filterColumns = computed(() => {
const copy = [...columns.value];
copy.splice(copy.length - 1, 0, {
La última col de columns son los botones, creo una copia de las columnas y le inserto el filtro nuevo.
@ -16,3 +9,1 @@
cy.dataCy('supplierFiscalDataAccount').type('999');
cy.dataCy('supplierFiscalDataAccount')
.should('have.value', '9990000001');
describe('VnInput handleInsertMode()', () => {
Queda más claro así
@ -143,7 +143,7 @@ const handleUppercase = () => {
:rules="mixinRules"
:lazy-rules="true"
hide-bottom-space
:data-cy="$attrs.dataCy ?? $attrs.label + '_input'"
Así no funciona