1
0
mirror of synced 2024-11-22 13:26:06 +03:00

fix: Components names

This commit is contained in:
Zaytsev Kirill 2020-10-19 18:53:24 +03:00
parent 9488c8e8fd
commit ca292960ff
3 changed files with 3 additions and 3 deletions

View File

@ -18,7 +18,7 @@ import Registry from '@/libs/registry'
import FormSubmission from '@/FormSubmission' import FormSubmission from '@/FormSubmission'
import FormularioInput from '@/FormularioInput.vue' import FormularioInput from '@/FormularioInput.vue'
@Component @Component({ name: 'FormularioForm' })
export default class FormularioForm extends Vue { export default class FormularioForm extends Vue {
@Provide() formularioFieldValidation (errorObject): void { @Provide() formularioFieldValidation (errorObject): void {
this.$emit('validation', errorObject) this.$emit('validation', errorObject)

View File

@ -16,7 +16,7 @@ import {
Provide, Provide,
} from 'vue-property-decorator' } from 'vue-property-decorator'
@Component @Component({ name: 'FormularioGrouping' })
export default class FormularioGrouping extends Vue { export default class FormularioGrouping extends Vue {
@Inject({ default: '' }) path!: string @Inject({ default: '' }) path!: string

View File

@ -33,7 +33,7 @@ const ERROR_BEHAVIOR = {
SUBMIT: 'submit', SUBMIT: 'submit',
} }
@Component({ inheritAttrs: false }) @Component({ name: 'FormularioInput', inheritAttrs: false })
export default class FormularioInput extends Vue { export default class FormularioInput extends Vue {
@Inject({ default: undefined }) formularioSetter!: Function|undefined @Inject({ default: undefined }) formularioSetter!: Function|undefined
@Inject({ default: () => (): void => {} }) formularioFieldValidation!: Function @Inject({ default: () => (): void => {} }) formularioFieldValidation!: Function