Merge pull request #7 from cmath10/fix-component-names
fix: Components names
This commit is contained in:
commit
d0e45947ad
@ -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)
|
||||
|
@ -16,7 +16,7 @@ import {
|
||||
Provide,
|
||||
} from 'vue-property-decorator'
|
||||
|
||||
@Component
|
||||
@Component({ name: 'FormularioGrouping' })
|
||||
export default class FormularioGrouping extends Vue {
|
||||
@Inject({ default: '' }) path!: string
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user