Skip to content

Commit

Permalink
Improved: used ref property on the ion-input instead of on ion-item (h…
Browse files Browse the repository at this point in the history
  • Loading branch information
amansinghbais committed Mar 28, 2024
1 parent 75217d9 commit 67e1ebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/AddFacilityConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@
<div slot="label">{{ translate('Username') }} <ion-text color="danger">*</ion-text></div>
</ion-input>
</ion-item>
<ion-item lines="none" ref="password">
<ion-input label-placement="floating" v-model="password" @keyup="validatePassword" @ionBlur="markPasswordTouched" type="password" helper-text="translate('Password should be at least 5 characters long, it contains at least one number, one alphabet and one special character.')">
<ion-item lines="none">
<ion-input label-placement="floating" v-model="password" ref="password" @keyup="validatePassword" @ionBlur="markPasswordTouched" type="password" helper-text="translate('Password should be at least 5 characters long, it contains at least one number, one alphabet and one special character.')">
<div slot="label">{{ translate('Password') }} <ion-text color="danger">*</ion-text></div>
</ion-input>
</ion-item>
Expand Down

0 comments on commit 67e1ebb

Please sign in to comment.