improve oreder handling for schemaform

This commit is contained in:
Ruben Fiszel
2024-01-11 11:38:31 +01:00
parent 6869368f1c
commit 5f892c0f40
@@ -40,7 +40,7 @@
}
function reorder() {
if (schema.order && Array.isArray(schema.order)) {
if (schema?.order && Array.isArray(schema.order)) {
const n = {}
;(schema.order as string[]).forEach((x) => {