question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when using provider vee-validate with Vue currency input

See original GitHub issue

Error: Uncaught TypeError: listeners[event].fns is not a function at emit (vue-currency-input.esm.js?d413:437) at Object.onInput (vue-currency-input.esm.js?d413:442) at NumberInput.format (vue-currency-input.esm.js?d413:369) at NumberInput.applyFixedFractionFormat (vue-currency-input.esm.js?d413:300) at HTMLInputElement.eval (vue-currency-input.esm.js?d413:413) Code: <ValidationProvider rules="required" v-slot="{ errors }"> <input id="price" v-currency name="price" type="text" v-model="price" label="Price:" /> <span v-if="errors.length" class="bg-red-100 block text-red-600 mb-5 ">{{ errors[0] }}</span> </ValidationProvider>

the error happens only within <ValidationProvider></ValidationProvider>

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
dm4t2commented, Sep 2, 2020

VeeValidate should work again with Release 1.22.2 🎉

1reaction
PabloRNcommented, Sep 3, 2020

VeeValidate should work again with Release 1.22.2 🎉

Thx!!! Nice work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Validation Rules - VeeValidate
For validation providers the target field must have a vid prop set ... The value input for this attribute is used as the...
Read more >
forms - Veevalidate - Buefy - How can i use the error outside of ...
I think i need to initialize errors.phone but i don't know how to use the v-slot variable outside of the provider. I hope...
Read more >
Using Vue Currency Input with Quasar + VeeValidate
Activating extension 'vscode.typescript-language-features' failed: Could not find bundled tsserver.js.
Read more >
Add Money Inputs to Your Vue.js App with V-Money
We use Vee-Validate to validate our inputs. We use the ValidationObserver component to watch for the validity of the form inside the ...
Read more >
vee-validate - npm
Form Validation for Vue.js. Latest version: 4.7.3, last published: a month ago. Start using vee-validate in your project by running `npm i ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found