Skip to content

Flow v1.1.3 – Form-scoped field defaults

Choose a tag to compare

@scsinfo scsinfo released this 23 May 09:15
· 38 commits to main since this release

This release adds a form-scoped JavaScript default-value API to Flow and updates the frontend runtime so rendered forms consume stored defaults by formId. It also publishes the documented helper methods on WpSuite.plugins.flow and refreshes the related developer documentation.

What changed

  • Added form-scoped field-default storage in Flow core, keyed by formId instead of a single page-level default map.
  • Published browser helper methods on WpSuite.plugins.flow for setting, clearing, and reading per-form field defaults.
  • Updated the Flow frontend runtime so rendered forms resolve and apply stored defaults by formId.
  • Refreshed the Flow JavaScript API and field-default documentation to match the new API surface.

Why this matters

  • Prefill values no longer bleed between multiple Flow forms rendered on the same page.
  • Host-page scripts can target a specific form reliably.
  • The documented browser API now matches the actual runtime behavior.

Upgrade notes

  • Recommended update if you prefill Flow forms from JavaScript or render multiple forms on one page.
  • Direct integrations should use the form-scoped helper signatures and pass formId to default-value actions and selectors.
  • No admin configuration changes are required.