Add existing book fields in "create book" form

This commit is contained in:
2026-03-31 17:35:32 +02:00
parent c1b6b61678
commit 32d39cabcd
7 changed files with 162 additions and 19 deletions

View File

@@ -191,10 +191,7 @@ export function genericPayloadCall(apiRoute, object, method) {
}
export function extractFormErrorFromField(fieldName, errors) {
if (errors === null) {
return ''
}
if (errors.value == null) {
if (errors == null) {
return ''
}
console.log(errors.value)