Improve input title for add book to collection widget
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user