Skip to content

Commit

Permalink
Fix userInputs default value
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Kegel committed Feb 4, 2017
1 parent f23262b commit 36dfd5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>",
"keywords": [
Expand Down
4 changes: 3 additions & 1 deletion src/components/PasswordInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@
*/
userInputs: {
type: Array,
default: []
default () {
return []
}
},
/**
Expand Down

0 comments on commit 36dfd5f

Please sign in to comment.