From dc28f675f281d965321ea83bfff3578750e460fc Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Tue, 30 Apr 2024 14:46:30 -0300 Subject: [PATCH 1/4] Fixes item emtadata event handling on item submission form. --- .../gutenberg-blocks/blocks/item-submission-form/theme.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/gutenberg-blocks/blocks/item-submission-form/theme.vue b/src/views/gutenberg-blocks/blocks/item-submission-form/theme.vue index 7ecfa7a8d..519d35d4a 100644 --- a/src/views/gutenberg-blocks/blocks/item-submission-form/theme.vue +++ b/src/views/gutenberg-blocks/blocks/item-submission-form/theme.vue @@ -513,7 +513,7 @@ :help-info-bellow-label="helpInfoBellowLabel" :is-collapsed="metadataCollapses[index]" :enumerate-metadatum="metadataSections.length > 1 && collectionItemMetadataEnumeration === 'yes' ? ( (Number(sectionIndex) + 1) + '.' + (Number(getMetadatumOrderInSection(sectionIndex, itemMetadatum.metadatum)) + 1) ) : false" - @update:model-value="updateItemMetadataValue" + @input="updateItemMetadataValue" @change-collapse="onChangeCollapse($event, index)" /> From 992f34d6b020a5ec475035c9e131c05d18953aab Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Tue, 30 Apr 2024 14:47:07 -0300 Subject: [PATCH 2/4] Fixes status update not working on bulk edition modal. --- src/views/admin/components/modals/bulk-edition-modal.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/admin/components/modals/bulk-edition-modal.vue b/src/views/admin/components/modals/bulk-edition-modal.vue index 510b24b65..c8ba88f33 100644 --- a/src/views/admin/components/modals/bulk-edition-modal.vue +++ b/src/views/admin/components/modals/bulk-edition-modal.vue @@ -128,7 +128,7 @@ :disabled="bulkEditionProcedures[criterion].isDone" class="tainacan-bulk-edition-field tainacan-bulk-edition-field-last" :placeholder="$i18n.get('instruction_select_a_status2')" - @update:model-update:value="($event) => addToBulkEditionProcedures($event, 'newValue', criterion)"> + @update:model-value="($event) => addToBulkEditionProcedures($event, 'newValue', criterion)">