Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Dirrective #304

Open
Xaaalera opened this issue Sep 16, 2022 · 0 comments
Open

Dirrective #304

Xaaalera opened this issue Sep 16, 2022 · 0 comments

Comments

@Xaaalera
Copy link

i try use v-maska

const scheme: FormObjectSchema = {
'fio': { 'label': 'ФИО', 'component': aliasComponent.string, validations: 'required' },
'login': { 'label': 'Логин', 'component': aliasComponent.string, validations: 'required' },
'password': { 'label': 'Пароль', 'component': aliasComponent.string, validations: 'required', type: 'password' },
'is_active': { 'label': 'Активен', 'component': aliasComponent.boolean },
'email': { 'label': 'E-Mail', 'component': aliasComponent.string, validations: 'required|email', type: 'email' },
'descr': { 'label': 'Комментарий', 'component': aliasComponent.text },
'phone': {
'label': 'Телефон',
'component': aliasComponent.string,
validations: 'phone',
type: 'phone',
inputmode: 'tel',
'v-maska': "['+1 (###) ##-##-##', '+1 (###) ###-##-##']",
'return-masked-value': true
},
'filial': { 'label': 'Филиал', 'component': aliasComponent['select-search'] },
'territory': { 'label': 'Территория', 'component': aliasComponent['select-search'] },
'sogins': { 'label': 'Привязка к ДСУ', 'component': aliasComponent['select-search'] },
'avarkom_title': { 'label': 'Аварком ID', 'component': aliasComponent['select-search'] },
'is_partner': { 'label': 'Партнер', 'component': aliasComponent.boolean },
'service_org': { 'label': 'Организация', 'component': aliasComponent['select-search'] },
'subr_autsorsing': { 'label': 'Аутсорсер', 'component': aliasComponent['select-search'] },
'evacuator_title': { 'label': 'Эвакуатор', 'component': aliasComponent['select-search'] },
'report_role_id': { 'label': 'Отчеты - руководитель', 'component': aliasComponent.boolean }
};
`
but she dont work and v-mask dont work too .
he just add v-mask to HTML and nothing

Vue 3.2.39
vuetify 3.0.0-beta.10
formvuelate 3.9.1
vee-validate 4.6.7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant