Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

on input @ logging an error #4614

Closed
5 tasks done
hi-reeve opened this issue Dec 27, 2023 · 1 comment
Closed
5 tasks done

on input @ logging an error #4614

hi-reeve opened this issue Dec 27, 2023 · 1 comment
Labels
🤔 needs reproduction This issue requires a demo

Comments

@hi-reeve
Copy link
Contributor

What happened?

when using sync v-model, typing @ on the input logging an error.

image

Reproduction steps

  1. make input using useField
  2. use value as v-model on the input
  3. type @ and see the error on the console

Version

Vue.js 3.x and vee-validate 4.x

What browsers are you seeing the problem on?

  • Firefox
  • Chrome
  • Safari
  • Microsoft Edge

Relevant log output

Uncaught TypeError: inputTypes.contains is not a function
    at isTextElement (<anonymous>:14:31)
    at <anonymous>:31:26
    at <anonymous>:66:3

Demo link

Code of Conduct

@logaretm logaretm added the 🤔 needs reproduction This issue requires a demo label Dec 27, 2023
@logaretm
Copy link
Owner

vee-validate doesn't have isTextElement function or inputTypes anywhere, it might be your code. Please provide a minimal reproduction for this and I will take another look.

@logaretm logaretm closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤔 needs reproduction This issue requires a demo
Projects
None yet
Development

No branches or pull requests

2 participants