added required field bugs fixed
This commit is contained in:
parent
f311f020d4
commit
234832bdb2
|
|
@ -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",
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
||||
|
|
|
|||
|
|
@ -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`;
|
||||
|
|
|
|||
|
|
@ -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({});
|
||||
|
|
|
|||
Loading…
Reference in New Issue