WIP Добавил обновление Контактов

This commit is contained in:
DwCay
2023-04-19 18:11:05 +03:00
parent 5baefcc1f8
commit a2898f4b4f
6 changed files with 120 additions and 50 deletions

View File

@@ -1,3 +1,5 @@
import { ruleLengthValue, ruleEmailValue } from "@/shared/utils/rulesInputs";
export const baseDataForm = [
{
dataLabel: "Личные данные",
@@ -147,11 +149,13 @@ export const contactsDataForm = {
title: "Телефон",
fieldName: "Телефон",
kind: "PHONE",
rules: [(val) => ruleLengthValue(val, 18)],
inputMask: "+7 (###) ###-##-##",
},
emails: {
title: "Почта",
fieldName: "Email",
rules: [(val) => ruleEmailValue(val)],
kind: "EMAIL",
},
networks: {