From 507b78f5e8c50082592133ff3568ad511e3431de Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 27 Nov 2024 22:33:00 +0100 Subject: [PATCH] perf: refs #8061 filter autonomy --- src/components/CreateNewCityForm.vue | 2 ++ src/components/CreateNewPostcodeForm.vue | 4 ++++ src/components/CreateNewProvinceForm.vue | 28 +++++++++--------------- 3 files changed, 16 insertions(+), 18 deletions(-) diff --git a/src/components/CreateNewCityForm.vue b/src/components/CreateNewCityForm.vue index e51a18ef8..1cbba42fc 100644 --- a/src/components/CreateNewCityForm.vue +++ b/src/components/CreateNewCityForm.vue @@ -47,11 +47,13 @@ const onDataSaved = (...args) => { :label="t('Name')" v-model="data.name" :rules="validate('city.name')" + required /> diff --git a/src/components/CreateNewPostcodeForm.vue b/src/components/CreateNewPostcodeForm.vue index 907e49499..66b2a30d3 100644 --- a/src/components/CreateNewPostcodeForm.vue +++ b/src/components/CreateNewPostcodeForm.vue @@ -174,6 +174,7 @@ async function onProvinceCreated(data) { v-model="data.code" :rules="validate('postcode.code')" clearable + required />