Skip to content

4.0.0-beta.14

Pre-release
Pre-release

Choose a tag to compare

@engram-design engram-design released this 19 Aug 03:27

Added

  • Add Submission::EVENT_AFTER_COMPLETE and SubmissionWorkflow::EVENT_AFTER_PAGE_ADVANCE so modules can hook a page submit or a form submit without afterTask guards. See Run custom code on page submit or form submit.
  • Add data-formie-validation-skip so helper controls can opt out of client-side validation without field-specific validator exceptions.

Changed

  • Tighten conditions UI density: sentence Show/All selects and the Field picker trigger now use xs to match Condition/Value table chips.
  • Fix conditions Field column vertical alignment (trigger + ⋯ vs Condition/Value) when projected into EditableTable custom cells.

Fixed

  • Fix element-field variable tokens with a property selector resolving empty (e.g. {field:<ref>:title}). Unindexed selectors now resolve against related elements and join multi-value results. (#2930)
  • Fix status-change notifications never sending: the trigger compared Submission::getStatus() as a status model, but it returns the handle string. (#2931)
  • Fix rich text toolbars always showing only Bold/Italic — pass buttons / linkOptions to pk-tiptap-editor instead of the obsolete *Attr prop names so configured buttons reach the element. (#2929)
  • Fix final submit validating only the current page when a later page is conditionally hidden — isLastPage() / isFirstPage() now accept the submission so they skip unreachable pages the same way as getNextPage(). (#2927)
  • Fix redirect Entry selections on the Behaviour tab (and stencils) never persisting because save read submitActionEntryId instead of the posted submitActionEntry list. (#2926)
  • Fix page (and other form-builder) conditions showing an empty Value dropdown for Submission Status by always supplying status select options. (#2925)
  • Fix CP submission edit (Follow field conditions) always hiding pages whose conditions use {submission:*} tokens — the client now evaluates those from a submission snapshot instead of treating them as missing fields. (#2925)
  • Fix required File Upload fields using Upload Manager never passing client-side validation after a successful upload. (#2924)
  • Fix submitting a filled Date/Time field throwing Undefined property: DateFieldValue::$date during validation when resolving nested date/time paths (including Date fields inside Group/Repeater). (#2923)
  • Fix Group nested field values being ignored in submission title format tokens and Element/integration field mappings when the picker stored a child field reference. (#2922)
  • Fix Group nested field variable chips showing “Unknown field” after refresh when the saved token still used a nested field reference.
  • Fix the variable-tag configure popover expanding TipTap variable-picker fields (extra padding under the control and a misaligned insert + button).
  • Fix Advanced Upload Manager (and related front-end XHR helpers) failing when Craft’s csrfTokenName is customised away from CRAFT_CSRF_TOKEN.
  • Fix integration field mapping excluding Multi-line Text fields from the variable picker. Mapping now accepts multi-line sources for string/date/number destinations.