diff --git a/package.json b/package.json index d2e0370..8305a60 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-password", - "version": "0.0.3", + "version": "0.0.4", "description": "A Vue.js password input component that includes a toggle to show the password and a strength meter using the Dropbox zxcvbn library.", "author": "Sean Kegel ", "keywords": [ diff --git a/src/components/PasswordInput.vue b/src/components/PasswordInput.vue index 70b287c..9636bb1 100644 --- a/src/components/PasswordInput.vue +++ b/src/components/PasswordInput.vue @@ -277,7 +277,9 @@ */ userInputs: { type: Array, - default: [] + default () { + return [] + } }, /**