added required field bugs fixed

This commit is contained in:
Komek Hayytnazarov 2022-10-03 12:07:45 +05:00
parent f311f020d4
commit 234832bdb2
7 changed files with 9 additions and 4 deletions

View File

@ -113,8 +113,8 @@ export const locale = {
TICKETS: "Tickets",
NEW_TICKET: "New Ticket",
CONTACTS: "Contracts",
REQUIRED_VALIDATION: "This field is required",
REQUIRED_VALIDATION: "Обязательное поле",
MIN_LENGTH_VALIDATION: "This field should be at least {min} characters long",
EMAIL_VALIDATION: "This field must be a valid email address"
EMAIL_VALIDATION: "This field must be a valid email address",
};

View File

@ -103,6 +103,7 @@ import dom from "@left4code/tw-starter/dist/js/dom";
import { useVuelidate } from "@vuelidate/core";
import { required, helpers, minLength, email } from "@vuelidate/validators";
import { useAuthStore } from "@/stores";
import { useI18n } from 'vue-i18n';
import router from "@/router";
import Logo from "@/components/logo/Main.vue";
import Lang from "@/components/lang/Main.vue";

View File

@ -160,6 +160,7 @@ import { required, helpers } from "@vuelidate/validators";
import { useVuelidate } from "@vuelidate/core";
import { fetchWrapper } from "@/api";
import { useRoute } from "vue-router";
import { useI18n } from 'vue-i18n';
import router from "@/router";
import _ from "lodash";

View File

@ -181,6 +181,7 @@ import { useVuelidate } from "@vuelidate/core";
import { fetchWrapper } from "@/api";
import { useRoute } from "vue-router";
import router from "@/router";
import { useI18n } from 'vue-i18n';
import _ from "lodash";
import { helper as $h } from "@/utils/helper";
import CountryDropdown from "@/components/country-dropdown/Main.vue";

View File

@ -189,6 +189,7 @@ import { useVuelidate } from "@vuelidate/core";
import { fetchWrapper } from "@/api";
import { useRoute } from "vue-router";
import router from "@/router";
import { useI18n } from 'vue-i18n';
import _ from "lodash";
import { helper as $h } from "@/utils/helper";

View File

@ -114,6 +114,7 @@ import { useVuelidate } from "@vuelidate/core";
import { fetchWrapper } from "@/api";
import { useRoute } from "vue-router";
import router from "@/router";
import { useI18n } from 'vue-i18n';
import _ from "lodash";
const baseUrl = `${import.meta.env.VITE_API_URL}/api`;

View File

@ -162,7 +162,7 @@ import {
} from "@vuelidate/validators";
import { useVuelidate } from "@vuelidate/core";
import { useAuthStore } from "@/stores";
import { storeToRefs } from 'pinia';
import { storeToRefs } from 'pinia';ç
import { useI18n } from 'vue-i18n';
const { t } = useI18n({});