From 5c748d7daced7a562c0ea4593f9c8e8b44bc230d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Valverd=C3=A9?= Date: Thu, 25 Sep 2025 22:25:42 +0200 Subject: [PATCH] Form work --- packages/effect-fc/src/Form.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/packages/effect-fc/src/Form.ts b/packages/effect-fc/src/Form.ts index ad20e04..d58b12c 100644 --- a/packages/effect-fc/src/Form.ts +++ b/packages/effect-fc/src/Form.ts @@ -173,6 +173,23 @@ const run = (self: Form) => Stream.run ) +export const field: { + >>( + self: Form, + path: P, + ): Effect.Effect, PropertyPath.ValueFromPath>> +} = Effect.fnUntraced(function* >>( + self: Form, + path: P, +) { + return new FormFieldImpl( + SubscribableInternal.make({ + + }) + ) +}) + + export namespace useInput { export interface Options { readonly debounce?: Duration.DurationInput