Type

SubmissionActionResult

@ng-forge/dynamic-forms

The result type for submission actions. Can be either a Promise or an Observable.

For success: return undefined, null, void, or any non-TreeValidationResult value. For server errors: return TreeValidationResult (array of field errors).

Signature

type SubmissionActionResult = Promise<TreeValidationResult> | Observable<TreeValidationResult | unknown>;