From 26ed7d204f0317f7ad80793d53ca783f111f379b Mon Sep 17 00:00:00 2001 From: Daniel Sarmiento Date: Wed, 25 Jul 2018 13:47:50 -0500 Subject: [PATCH 1/2] =?UTF-8?q?=E2=9C=A8=20Allow=20the=20usage=20of=20buil?= =?UTF-8?q?t-in=20input=20to=20be=20optional?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added the prop strengthMeterOnly to toggle the visibily of the input that's already inside the PasswordStrengthMeter component. This will allow users to use their own input element. For this to work both the user's input element and the password component must bound v-model to the same variable. --- src/components/PasswordStrengthMeter.vue | 36 ++++++++++++++++-------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/src/components/PasswordStrengthMeter.vue b/src/components/PasswordStrengthMeter.vue index 9d0f616..6548158 100644 --- a/src/components/PasswordStrengthMeter.vue +++ b/src/components/PasswordStrengthMeter.vue @@ -1,17 +1,20 @@