Improve input title for add book to collection widget

This commit is contained in:
2026-04-09 13:50:13 +02:00
parent aca2a2c339
commit 36a21c8891
3 changed files with 7 additions and 2 deletions

View File

@@ -43,7 +43,6 @@ function addBook(bookId) {
emit('created')
} else {
res.json().then((json) => {
console.log(json)
error.value = json
})
}
@@ -61,7 +60,7 @@ function addBook(bookId) {
type="text"
maxlength="300"
v-model="book.title"
:placeholder="$t('addbook.title')"
:placeholder="$t('inputbookwidget.searchinput')"
/>
<p v-if="titleError" class="help is-danger">{{ titleError }}</p>
<ul v-if="data" class="popupresults has-background-dark">