mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-13 15:28:37 +01:00
optimized record upsert panel loading to minimize layout jumps
This commit is contained in:
1 parent
2ddf161314
commit
a6002c4622
10 files changed
+104
-80
No files matched your search
@@ -348,6 +348,8 @@ const utils = {
|
||||
clone[prop] = "";
|
||||
} else if (typeof clone[prop] == "number") {
|
||||
clone[prop] = 0;
|
||||
} else if (typeof clone[prop] == "boolean") {
|
||||
clone[prop] = false;
|
||||
} else if (Array.isArray(clone[prop])) {
|
||||
clone[prop] = [];
|
||||
} else if (app.utils.isObject(clone[prop])) {
|
||||
|
||||
Reference in new issue
Block a user