From a37abd2472ac2d521e81838632050963157f00af Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Fri, 29 Dec 2023 17:42:11 -0300
Subject: fine tune dynamic forms

---
 packages/web-util/src/forms/DefaultForm.tsx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'packages/web-util/src/forms/DefaultForm.tsx')

diff --git a/packages/web-util/src/forms/DefaultForm.tsx b/packages/web-util/src/forms/DefaultForm.tsx
index 12babf39a..be8affbec 100644
--- a/packages/web-util/src/forms/DefaultForm.tsx
+++ b/packages/web-util/src/forms/DefaultForm.tsx
@@ -7,8 +7,9 @@ import { DoubleColumnForm, RenderAllFieldsByUiConfig } from "./forms.js";
 export interface FlexibleForm<T extends object> {
   versionId: string;
   design: DoubleColumnForm;
-  behavior: (form: Partial<T>) => FormState<T>;
+  behavior?: (form: Partial<T>) => FormState<T>;
 }
+
 export function DefaultForm<T extends object>({
   initial,
   onUpdate,
-- 
cgit v1.2.3

