@dxos/react-ui-form
    Preparing search index...

    Type Alias Autofill

    Derives a (text) field's value from a declared subset of the form values, so a field can be pre-filled from a sibling (e.g. a feed name fetched from a typed URL). deps are the field names the derivation reads; the form re-runs it only when one of those changes. The returned Effect must be self-contained (R = never); undefined means "no value to fill". The form pre-fills only while the user has not typed their own value, so a manual edit is never clobbered. Construct via autofill.

    type Autofill = {
        deps: readonly string[];
        derive: (values: any) => Effect.Effect<string | undefined, unknown>;
    }
    Index

    Properties

    Properties

    deps: readonly string[]
    derive: (values: any) => Effect.Effect<string | undefined, unknown>