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>
</base-card>
<teleport to="body">
<base-dialog v-if="inputIsInvalid">
<template #header>
Input may not be empty
<base-dialog v-if="inputIsInvalid" title="Input may not be empty">
</template>
<template #actions>
<base-button @click="resetErrorDialog">Ok</base-button>