Comments (3)
I think thats is null min and max... try:
modules: [
'@nuxtjs/pwa',
['v-currency-field/nuxt-treeshaking', {
locale: 'pt-BR',
decimalLength: 2,
autoDecimalMode: true,
min: undefined,
max: undefined,
defaultValue: 0,
}],
],
You can use the stable version 3.0.7. I recently updated vue-currency-input version and have to change somethings in version 3.0.8 that could not work properly.
yarn add [email protected]
npm install [email protected]
I think I will need to work around with null values that vue-currency-input dont check.
from v-currency-field.
Thanks @phiny1 , all works after install v3.0.7. Min and max props don't solve the error in current version, in stable version, never mind, works with null or undefined.
from v-currency-field.
Hi, this error is still thrown when using undefined as defaultValue. Solved with using null tho.
Thought I'd share. Thanks for the awesome library!
Vue.component('v-text-field', VTextField);
Vue.use(VCurrencyField, {
locale: 'nl-NL',
decimalLength: 2,
autoDecimalMode: false,
min: null,
max: null,
distractionFree: false,
defaultValue: undefined
});
v-currency-field.esm.js?a563:393 Uncaught RangeError: Maximum call stack size exceeded.
at dispatchEvent$1 (v-currency-field.esm.js?a563:393)
at format (v-currency-field.esm.js?a563:717)
at applyFixedFractionFormat (v-currency-field.esm.js?a563:656)
at HTMLInputElement.eval (v-currency-field.esm.js?a563:775)
at dispatchEvent (v-currency-field.esm.js?a563:112)
at input (v-currency-field.esm.js?a563:1082)
at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1854)
at VueComponent.invoker (vue.runtime.esm.js?2b0e:2175)
at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1854)
at VueComponent.Vue.$emit (vue.runtime.esm.js?2b0e:3888)
from v-currency-field.
Related Issues (20)
- Screen reader reporting v-currency-field as telephone type HOT 2
- v-currency-field does not clears the model when marked as clearable HOT 2
- Prop [allow-negative] not working HOT 2
- Option allowNegative does not work HOT 3
- Not computing decimal HOT 2
- The specified value "x.xxx.xxx" cannot be parsed, or is out of range. HOT 3
- Typescript support HOT 5
- Automatic Rounded Value HOT 1
- How to remove prefix .00 HOT 1
- Initial value not formatted HOT 3
- Change event calling twice
- field cannot show 1,234.56 as distractionFree=>true if decimalLength>0 and autoDecimalMode=false HOT 1
- Initial value don't show correctly HOT 6
- Not work slots HOT 1
- Feature Idea: Defaults Prefix/Sufix
- v-on:keyup.enter doesn't seem to work
- Invoking resetValidation() on a form which a curency field is part of clears its value HOT 1
- Component not found, nuxt and vuetify HOT 1
- Installation error
- Support for vuetify v3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from v-currency-field.