0.1.4 #5

Merged
Thilawyn merged 67 commits from next into master 2025-10-02 18:18:23 +02:00
Showing only changes of commit 7e57cadd9c - Show all commits

View File

@@ -183,9 +183,13 @@ export const field: {
path: P, path: P,
) { ) {
return new FormFieldImpl( return new FormFieldImpl(
SubscribableInternal.make({ pipe(
(value: Option.Option<A>) => Option.map(value, v => PropertyPath.get(v, path)),
}) filter => SubscribableInternal.make({
get: Effect.flatMap(self.valueRef, filter),
get changes() { return Stream.flatMap(self.valueRef.changes, filter) },
}),
)
) )
}) })