pgForm/API/formApi
API

formApi

The imperative surface for the whole form — reads, writes, submit, reset, dirty queries, lifecycle.

Content coming soon. Outline:

  • Reads: getValue, getValues, getError, getDirty, getTouched, getInvalid, …
  • Writes: setValue, setValues, setError, …
  • Lifecycle: submit, reset, validate
  • Standalone access: getPgFormApi(formId)