Skip to content

use/useActionForm ​

Overview ​

Provides submit, cancel, and dry-run logic for action forms. Handles validation gating, error display, warning confirmation (HTTP 409 confirm-then-run), and success/error callbacks. ActionForm uses this internally; callers that want the behaviour without the shell can use it directly.

Methods ​

  • useActionForm - Provides submit, cancel, and dry-run behaviour for action forms.

Types ​

ActionFormContext ​

ActionFormProps ​

ActionFormRawState ​

ActionFormState ​

ActionFormState = UnwrapNestedRefs

Source ​

client/lib/use/useActionForm.js:1