updated api preview docs

This commit is contained in:
Gani Georgiev
2022-11-03 11:36:59 +02:00
parent 7e7e2e98a4
commit fe656a1c42
32 changed files with 238 additions and 207 deletions
+4
View File
@@ -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 "[]";