pgForm/API/fieldApi
API

fieldApi

Per-field imperative surface — reads, writes, status flags, and the use() tracker for dynamic props.

Content coming soon. Outline:

  • Status flags: isDisabled, isHidden, isReadonly, isRequired, isLoading, isInvalid, isTouched, isDirty, isFocused
  • Reads: value, firstError, firstErrorCode, errors
  • Writes: setValue, setTouched, setFocused, …
  • The field.use(key) tracker — what you can subscribe to inside dynamic prop functions