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

    Function getDiscriminatorDefaults

    • Discriminator values that open a root discriminated union on its first member.

      A union root with no discriminator value renders as a lone select and nothing else — no member's fields, and no way to submit — so the form seeds the first member rather than presenting a dead form. Member order is therefore the declaration order of Schema.Union: put the common case first.

      Parameters

      • ast: undefined | AST

      Returns Record<string, unknown>