lesson 133: move the header into the title prop

This commit is contained in:
Andreas Zweili 2021-02-08 20:00:23 +01:00
parent 68d7323578
commit 73fb2e790a
1 changed files with 1 additions and 3 deletions

View File

@ -24,9 +24,7 @@
</form> </form>
</base-card> </base-card>
<teleport to="body"> <teleport to="body">
<base-dialog v-if="inputIsInvalid"> <base-dialog v-if="inputIsInvalid" title="Input may not be empty">
<template #header>
Input may not be empty
</template> </template>
<template #actions> <template #actions>
<base-button @click="resetErrorDialog">Ok</base-button> <base-button @click="resetErrorDialog">Ok</base-button>