Skip to content

Commit

Permalink
Make form header editalbe with keyboard
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Hartmann <chris-hartmann@gmx.de>
  • Loading branch information
Chartman123 committed Oct 19, 2023
1 parent a4914d0 commit da0d699
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/Create.vue
Expand Up @@ -52,6 +52,7 @@
:readonly="!edit"
:required="true"
autofocus
@focus="enableEdit"
@input="onTitleChange" />
</h2>
<template v-if="edit">
Expand All @@ -66,6 +67,7 @@
:value="form.description"
:placeholder="t('forms', 'Description (formatting using Markdown is supported)')"
:maxlength="maxStringLengths.formDescription"
@blur="disableEdit"
@input="updateDescription" />
</template>
<!-- eslint-disable vue/no-v-html -->
Expand Down

0 comments on commit da0d699

Please sign in to comment.