From d6b74c99647396c354b4290a556bc90354828d36 Mon Sep 17 00:00:00 2001 From: mateuswetah Date: Mon, 17 Jul 2023 11:45:43 -0300 Subject: [PATCH] Adds v-model:value to custom components v-model. #794. --- .../edition/collection-edition-form.vue | 32 +++++++++---------- .../edition/exporter-edition-form.vue | 6 ++-- .../edition/filter-edition-form.vue | 16 +++++----- .../edition/importer-edition-form.vue | 4 +-- .../edition/importer-mapping-form.vue | 2 +- .../edition/item-bulk-edition-form.vue | 2 +- .../components/edition/item-edition-form.vue | 6 ++-- .../edition/metadata-section-edition-form.vue | 16 +++++----- .../edition/metadatum-edition-form.vue | 30 ++++++++--------- .../edition/taxonomy-edition-form.vue | 14 ++++---- .../components/edition/term-edition-form.vue | 8 ++--- .../autocomplete/Autocomplete.vue | 2 +- .../date-interval/DateInterval.vue | 4 +-- .../components/filter-types/date/Date.vue | 4 +-- .../components/filter-types/date/FormDate.vue | 2 +- .../numeric-interval/FormNumericInterval.vue | 4 +-- .../numeric-interval/NumericInterval.vue | 4 +-- .../FormNumericListInterval.vue | 8 ++--- .../NumericListInterval.vue | 2 +- .../filter-types/numeric/FormNumeric.vue | 4 +-- .../filter-types/numeric/Numeric.vue | 2 +- .../lists/collection-metadata-list.vue | 8 ++--- .../components/lists/collections-list.vue | 2 +- .../admin/components/lists/items-list.vue | 10 +++--- .../lists/metadata-mapping-list.vue | 6 ++-- .../components/lists/metadata-types-list.vue | 4 +-- .../admin/components/lists/processes-list.vue | 2 +- .../lists/repository-metadata-list.vue | 6 ++-- .../components/lists/taxonomies-list.vue | 2 +- .../lists/terms-list-hierarchical.vue | 2 +- .../admin/components/lists/terms-list.vue | 2 +- .../compound/child-metadata-list.vue | 2 +- .../components/metadata-types/date/Date.vue | 4 +-- .../geocoordinate/FormGeoCoordinate.vue | 8 ++--- .../metadata-types/numeric/FormNumeric.vue | 4 +-- .../relationship/FormRelationship.vue | 12 +++---- .../relationship/Relationship.vue | 2 +- .../selectbox/FormSelectbox.vue | 4 +-- .../metadata-types/tainacan-form-item.vue | 6 ++-- .../metadata-types/taxonomy/FormTaxonomy.vue | 14 ++++---- .../metadata-types/taxonomy/Taxonomy.vue | 4 +-- .../taxonomy/TaxonomyTaginput.vue | 2 +- .../metadata-types/user/FormUser.vue | 2 +- .../components/modals/exposers-modal.vue | 2 +- .../modals/item-document-text-modal.vue | 2 +- .../modals/item-document-url-modal.vue | 10 +++--- .../other/checkbox-radio-filter-input.vue | 4 +-- .../other/checkbox-radio-metadata-input.vue | 4 +-- .../other/item-creation-status-dialog.vue | 2 +- .../components/other/term-deletion-dialog.vue | 4 +-- .../other/term-multiple-insertion-dialog.vue | 10 +++--- .../other/term-parent-selection-dialog.vue | 6 ++-- .../admin/pages/lists/activities-page.vue | 8 ++--- .../admin/pages/lists/capabilities-page.vue | 2 +- .../admin/pages/lists/collections-page.vue | 4 +-- src/views/admin/pages/lists/filters-page.vue | 8 ++--- src/views/admin/pages/lists/items-page.vue | 2 +- src/views/admin/pages/lists/metadata-page.vue | 2 +- .../admin/pages/lists/taxonomies-page.vue | 2 +- .../theme-search/components/view-mode-map.vue | 2 +- .../theme-search/theme-items-page.vue | 2 +- .../components/term-creation-panel.vue | 6 ++-- .../item-submission/item-submission-form.vue | 26 +++++++-------- 63 files changed, 194 insertions(+), 194 deletions(-) diff --git a/src/views/admin/components/edition/collection-edition-form.vue b/src/views/admin/components/edition/collection-edition-form.vue index 8c1d099da..b19198a44 100644 --- a/src/views/admin/components/edition/collection-edition-form.vue +++ b/src/views/admin/components/edition/collection-edition-form.vue @@ -26,7 +26,7 @@ @@ -53,7 +53,7 @@ type="textarea" rows="3" :placeholder="$i18n.get('instruction_collection_description')" - v-model="form.description" + v-model:value="form.description" @focus="clearErrors('description')"/> @@ -69,7 +69,7 @@ @@ -88,7 +88,7 @@ + v-model:value="form.default_order">