Last active
January 26, 2020 17:56
-
-
Save mrtampan/bc550d0fe69084233b88de33349b0ba8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class=""> | |
<label >Username</label> | |
<input type="text" v-model="$v.username.$model"> | |
<small v-if="!$v.username.required">Field is required.</small> | |
<small v-if="!$v.username.minLength">Username must have at least {{$v.username.$params.minLength.min}} letters</small> | |
</div> | |
<div class=""> | |
<label >Password</label> | |
<input type="text" v-model="$v.password.$model"> | |
<small v-if="!$v.password.required">Field is required.</small> | |
<small v-if="!$v.password.minLength">Password must have at least {{$v.password.$params.minLength.min}} letters.</small> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment