We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 252d616 + 606ecd0 commit ee37562Copy full SHA for ee37562
src/components/VueAutonumeric.vue
@@ -173,11 +173,9 @@ OTHER DEALINGS IN THE SOFTWARE.
173
mounted() {
174
// Initialize the autoNumeric element
175
this.anElement = new AutoNumeric(this.$refs.autoNumericElement, this.initialOptions);
176
- if (this.value !== null && this.value !== '') {
177
- this.anElement.set(this.value);
178
- // The `v-model` must be updated with that default value on startup
179
- this.updateVModel(); //FIXME Send the `event.timeStamp` info here
180
- }
+ this.anElement.set(this.value);
+ // The `v-model` must be updated with that default value on startup
+ this.updateVModel(); //FIXME Send the `event.timeStamp` info here
181
},
182
183
computed: {
0 commit comments