Skip to main content
cngx-src documentation

createCreateCommitHandler

Functionforms/select/commit

projects/forms/select/shared/create-commit-handler.ts

Description#

Plain factory for the quick-create commit flow. Shared by CngxActionSelect and CngxActionMultiSelect. Two separate factories vs createReorderCommitHandler because create and reorder have different value-shape contracts (materialise new T vs reorder existing T[]).

Signature#

createCreateCommitHandler(opts: CreateCommitHandlerOptions)

Parameters#

Returns#

CreateCommitHandler