normalized the caster to return always non-null value and fixed minor ui issues

This commit is contained in:
Gani Georgiev committed 2022-07-18 00:16:09 +03:00
1 parent f19b9e3552
commit 994761b728
34 files changed
+346 -321

No files matched your search

+1 -1
View File
@@ -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")