src/mixins/form-renderer/validation.js
/**
     * Dependencies Injection into the Form-Renderer.
     */
Dependencies Injection into the Form-Renderer.
Dependencies Injection into the Form - Renderer .
created() {
        this.$form.Validation = new Validation(
            this.valueContainer,
            this.formData.controls,
            this.$form.validationClosures || {},
        )
        this.$formEvent.$on(EVENT_CONSTANTS.RENDERER.RUN_VALIDATION, this.runValidation);
    }
created ( ) { this . $form . Validation = new Validation ( this . valueContainer , this . formData . controls , this . $form . validationClosures || { } , ) this . $formEvent . $on ( EVENT_CONSTANTS . RENDERER . RUN_VALIDATION , this . runValidation ) ; }
Dependencies Injection into the Form-Renderer.
Dependencies Injection into the Form - Renderer .
// create validation instance // listen to validation invoke