All Questions
4 questions
2
votes
1
answer
1k
views
Process an HTML Form without the Submit Button Using VeeValidate
I've created a form handler using its composable inside my <script setup>:
const { submitForm, resetForm, handleSubmit, meta } = useForm()
function save() {
// Here I want to submit the form
...
2
votes
0
answers
1k
views
Vue/JS - How to use ref from the composition api in an external Javascript module?
I'm building a javascript module (npm package) that serves as a validator for vue projects inspired from vee-validate. In the validator I have a few variables that I would need to reference in a vue ...
0
votes
2
answers
716
views
Vue JS - variable from javascript module is not reactive
I created a small module as a validator inspired from vee-validate and I would like to use this in conjunction with the composition api.
I have a list of errorMessages that are stored in a reactive ...
2
votes
0
answers
666
views
Yup schema with vee-validate and typescript
I wanna validate an array of objects with yup schema validation, but I have typescript error.
This is my yup schema:
const validationSchema = yup.object({
roles: yup
.array()
.of(
yup....