Comments (3)
Ok, I fixed the bug, and am going to push it with other fixes in the next couple hours.
For info, you will be able to check that it works with your test project, but you will need to modify your webpack configuration to add the following alias:
resolve: {
alias: {
'vue$': 'vue/dist/vue.esm.js',
AutoNumeric: 'autonumeric/dist/autoNumeric.min', // The new line to add
},
extensions: ['*', '.js', '.vue', '.json']
},
If you don't, the build will still work, but you'll get an error from uglifyjs.
from vue-autonumeric.
Hey @DinsmoreDesign, I've added some tests in the examples-src/App.vue
file to see if I can reproduce this error:
- when initializing the component with an empty v-model
''
- when using the AutoNumeric
clear(true)
method of the component - when using the AutoNumeric
set('')
method of the component
but couldn't see that message you described, which is odd since I explicitly pass the empty string to the component and I should see that too.
Would you have a reproducible test case?
from vue-autonumeric.
@AlexandreBonneau Hmm... oddly enough, I can't seem to get this to replicate on the Codepen example. I'm using the module system in my app.
I can't seem to get your project to run properly, but copying and pasting your example into my own project, it still reproduces the console error for me:
https://github.com/DinsmoreDesign/Vue-AutoNumeric-Test
from vue-autonumeric.
Related Issues (20)
- Add an ability to globally set the default options HOT 1
- Inherit events from component wrapper HOT 2
- Add TypeScript file definition HOT 4
- Directive usage HOT 3
- VueAutonumeric value prop validator should accept strings HOT 1
- Problem when importing `vue-autonumeric`, but not when importing `AutoNumeric` HOT 6
- Ignoring the .lazy modifier HOT 9
- Android cursor issue HOT 2
- Library naming issue HOT 3
- Add support for Nuxt HOT 1
- Set value to zero after null HOT 1
- Error while npm run development HOT 1
- The event passed as a parameter is not a valid wheel event, 'wheel' given. HOT 8
- How to remove keep in memory? HOT 1
- Vue 3.0 compatibility HOT 7
- Trying to edit a value sets the caret to the end of the input HOT 6
- References to autonumeric need to be updated HOT 9
- Support for numeric keyboard via input[type=number]?
- Change event doesn't work HOT 1
- V-model not readable by the autonumeric 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 vue-autonumeric.