pgForm/API/pgf.formData
API

pgf.formData

The fields-config builder. Pins your config shape so usePgForm and GeneratePgForm can infer field keys, value types, and metadata.

Content coming soon. Outline:

  • The single-call signature — pgf.formData({ … })
  • Per-field options: type, defaultValue, required, disabled, hidden, readonly, loading, validate, inputFormatter, outputFormatter, metadata, …
  • How metadata flows through to your input components
  • The relationship to PgFormFields and PgFormValues<T>