Current vee-validate version: 3.4.5
I have a FormBuilder.vue component that constructs my form inputs schema accordingly. Within this component, I have a custom InputSlugify component and I am looking to implement vee-validate validation for it using the required rule.
The Issue at Hand: Upon focusing on the input field and then moving away, the error message "field is required" is not displayed. However, when utilizing the <b-form-input>
component directly (in cases where field.type === 'text'), the validation works as expected.
Any suggestions on how I can successfully apply validation to the custom InputSlugify component?
Appreciate any help in advance!
You can find a functional example on CodeSandbox here:
https://codesandbox.io/s/mystifying-frost-3yidg?file=/src/components/InputSlugify.vue