UIInternal UI

Widgets

DialogForm

@randall-enterprises/ui/components/widgets/dialog-form

A real <form> for dialog bodies. Cmd/Ctrl+Enter submits; plain Enter in a textarea stays a newline. Promoted from the console.

Props (2)

onSubmit *(event: FormEvent<HTMLFormElement>) => voidRuns on submit — from the footer submit button, Enter in a single-line input, or Cmd/Ctrl+Enter in a textarea.
disabledbooleanBlocks every submit path while true (a pending mutation, a step that may