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

    Function optionsLookup

    • Builds an OptionsLookup typed against a schema's value type Values: deps is checked against its field names, and load receives only those fields, narrowed. Pass { combobox: true } to render an editable combobox, and eager: true to list the loaded options before anything is typed.

      Type Parameters

      • Values

      Returns <const Deps extends readonly (keyof Values & string)[]>(
          deps: Deps,
          load: (
              values: Pick<Values, Deps[number]>,
          ) => Effect<readonly OptionsLookupEntry[], unknown>,
          options?: { combobox?: boolean; eager?: boolean },
      ) => OptionsLookup