feat: auto focus directive, auto focus primary action by default

This commit is contained in:
liyasthomas
2021-08-08 22:44:05 +05:30
parent a71f70644f
commit cbf99d2daf
28 changed files with 38 additions and 7 deletions

View File

@@ -9,7 +9,7 @@
</template>
<template #footer>
<span>
<ButtonPrimary :label="yes" @click.native="resolve" />
<ButtonPrimary v-focus :label="yes" @click.native="resolve" />
<ButtonSecondary :label="no" @click.native="hideModal" />
</span>
</template>