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

Merge pull request #7 from cmath10/fix-component-names

fix: Components names
This commit is contained in:
Kruglov Kirill 2020-10-20 11:57:53 +03:00 committed by GitHub
commit d0e45947ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 FormularioInput from '@/FormularioInput.vue'
@Component
@Component({ name: 'FormularioForm' })
export default class FormularioForm extends Vue {
@Provide() formularioFieldValidation (errorObject): void {
this.$emit('validation', errorObject)

View File

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

View File

@ -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