TheButton global component (#425)

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-05-24 10:12:46 -08:00
committed by GitHub
parent fd1b54ae70
commit 034a21e203
23 changed files with 283 additions and 175 deletions

View File

@@ -24,13 +24,9 @@
<v-text-field dense :label="inputLabel" v-model="itemName" :rules="[rules.required]"></v-text-field>
</v-card-text>
<v-card-actions>
<TheButton cancel @click="dialog = false" />
<v-spacer></v-spacer>
<v-btn color="grey" text @click="dialog = false">
{{ $t("general.cancel") }}
</v-btn>
<v-btn color="success" text type="submit" :disabled="!itemName">
{{ $t("general.create") }}
</v-btn>
<TheButton type="submit" create :disabled="!itemName" />
</v-card-actions>
</v-form>
</v-card>