Created
March 9, 2020 18:46
-
-
Save a4amaan/bc85581ede8bbe7e73585062cd836db2 to your computer and use it in GitHub Desktop.
This file contains 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
requiredRule: [v => !!v || "This Field is required."], | |
if (this.$refs.accountForm.validate()) { | |
} | |
<v-form ref="accountForm"> | |
<v-text-field | |
v-model="account.father_name" | |
label="Father Name" | |
:rules="requiredRule" | |
/> | |
</v-form> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment