Skip to content

Commit

Permalink
use correct eventhandling on form
Browse files Browse the repository at this point in the history
  • Loading branch information
cb-fumix committed Jun 15, 2023
1 parent 168be77 commit 4e23cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/views/PostFormView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<div class="col w-50">
<div class="card flex-md-row mb-4 box-shadow h-md-250">
<div class="card-body">
<form @submit.prevent="submitForm" @input="handleAutoSave">
<form @submit.prevent="submitForm" @change="handleAutoSave">
<div class="form-floating mb-3">
<input v-model="form.title" type="text" class="form-control" id="title" placeholder="Titel" required />
<label for="title">{{ t("posts.form.title") }}</label>
Expand Down

0 comments on commit 4e23cb6

Please sign in to comment.