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

    Function useCreateObject

    • A form's onCreate that adds a ref field's new target to db. A type whose structure Obj.make alone cannot produce (a required backing ref) declares a FactoryAnnotation.

      Parameters

      • db: undefined | Database

      Returns (type: AnyEntity, values: any) => Unknown