mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 23:56:51 +00:00
Fully disable object flattening
This commit is contained in:
@@ -25,6 +25,7 @@ export const customValidation: Hook<[any, Errors], void> = walk<[Errors]>({
|
||||
}
|
||||
},
|
||||
|
||||
/*
|
||||
object({ node, getActiveFields }, path, value) {
|
||||
let activeFields = getActiveFields(path)
|
||||
const filterKey = path.modelArr.length === 0 ? null : node.hook(getFilterKey, path, path)
|
||||
@@ -37,4 +38,5 @@ export const customValidation: Hook<[any, Errors], void> = walk<[Errors]>({
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user