Temporarily disable flattening of objects

This commit is contained in:
Misode
2021-04-15 19:12:18 +02:00
parent 0cca6f0501
commit 38e7151f2b

View File

@@ -190,7 +190,7 @@ export const renderHtml: Hook<[any, Mounter], [string, string, string]> = {
: activeKeys)
.filter(k => filterKey !== k)
.filter(k => activeFields[k].enabled(path))
if (node.hook(canFlatten, path)) {
if (false /* node.hook(canFlatten, path) */) {
const newValue = value[visibleKeys[0]] ?? {}
body = activeFields[visibleKeys[0]].hook(this, path.push(visibleKeys[0]), newValue, mounter)[2]
} else {