From ca292960ff1a0354fa4cfc3dca909c0d0cf3d480 Mon Sep 17 00:00:00 2001 From: Zaytsev Kirill Date: Mon, 19 Oct 2020 18:53:24 +0300 Subject: [PATCH] fix: Components names --- src/FormularioForm.vue | 2 +- src/FormularioGrouping.vue | 2 +- src/FormularioInput.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FormularioForm.vue b/src/FormularioForm.vue index 38ea921..7b25d4b 100644 --- a/src/FormularioForm.vue +++ b/src/FormularioForm.vue @@ -18,7 +18,7 @@ import Registry from '@/libs/registry' import FormSubmission from '@/FormSubmission' import FormularioInput from '@/FormularioInput.vue' -@Component +@Component({ name: 'FormularioForm' }) export default class FormularioForm extends Vue { @Provide() formularioFieldValidation (errorObject): void { this.$emit('validation', errorObject) diff --git a/src/FormularioGrouping.vue b/src/FormularioGrouping.vue index ec916f7..2cdacb8 100644 --- a/src/FormularioGrouping.vue +++ b/src/FormularioGrouping.vue @@ -16,7 +16,7 @@ import { Provide, } from 'vue-property-decorator' -@Component +@Component({ name: 'FormularioGrouping' }) export default class FormularioGrouping extends Vue { @Inject({ default: '' }) path!: string diff --git a/src/FormularioInput.vue b/src/FormularioInput.vue index e40cb6d..c6782c1 100644 --- a/src/FormularioInput.vue +++ b/src/FormularioInput.vue @@ -33,7 +33,7 @@ const ERROR_BEHAVIOR = { SUBMIT: 'submit', } -@Component({ inheritAttrs: false }) +@Component({ name: 'FormularioInput', inheritAttrs: false }) export default class FormularioInput extends Vue { @Inject({ default: undefined }) formularioSetter!: Function|undefined @Inject({ default: () => (): void => {} }) formularioFieldValidation!: Function