mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-08 21:07:57 +01:00
normalized the caster to return always non-null value and fixed minor ui issues
This commit is contained in:
1 parent
f19b9e3552
commit
994761b728
34 files changed
+346
-321
No files matched your search
@@ -167,7 +167,7 @@ func (form *RecordUpsert) LoadData(r *http.Request) error {
|
||||
if len(oldNames) > 0 {
|
||||
form.filesToDelete = append(form.filesToDelete, oldNames...)
|
||||
}
|
||||
form.Data[key] = nil
|
||||
form.Data[key] = ""
|
||||
}
|
||||
} else if options.MaxSelect > 1 {
|
||||
// search for individual file index to delete (eg. "file.0")
|
||||
|
||||
Reference in new issue
Block a user