mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-05 11:37:25 +01:00
updated api preview docs
This commit is contained in:
1 parent
7e7e2e98a4
commit
fe656a1c42
32 files changed
+238
-207
No files matched your search
@@ -959,6 +959,10 @@ export default class CommonHelper {
|
||||
return "0";
|
||||
}
|
||||
|
||||
if (field?.type === "bool") {
|
||||
return "false";
|
||||
}
|
||||
|
||||
// array value
|
||||
if (["select", "relation", "file"].includes(field?.type) && field?.options?.maxSelect != 1) {
|
||||
return "[]";
|
||||
|
||||
Reference in new issue
Block a user