[6.x] Forms 2#15039
Draft
jasonvarga wants to merge 974 commits into
Draft
Conversation
…he Banner component in the Forms Builder)
…t row to make things simpler
You can't "go to" another page when you're on the last page. We can add this back in the future if we ever implement the variables stuff we've discussed.
This reverts commit 4290b17.
Co-authored-by: Duncan McClean <duncan@duncanmcclean.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
The immediate watcher run fired synchronously during setup, before #main was in the document, so the initial nav-open/nav-closed class was never applied. Any load where the stored state was "closed" left the nav visibly open while isOpen said closed, which made the form builder's nav.close emit a no-op.
The rules watcher was not deep, so push/unshift mutations (used when adding a rule) never triggered it. The focusout-commit test only passed on 6.x by accident, via an unconditionally-emitted live array reference that later mutations happened to update in place. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Jason Varga <jason@pixelfear.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Forms 2 is a complete overhaul of Statamic's forms functionality, including (but certainly not limited to):
sitethey're submitted fromSubmitFormaction to submit forms programmaticallyForms Pro
Forms Pro is a paid first-party addon adding extra features on top of Core, like multi-page forms, visualisations, an Address fieldtype with autocomplete, and integrations with popular email marketing tools.
Some of these features live in
cms, gated behind whether Forms Pro is installed. It also lifts the single form limit, so you can have more than one form without needing Statamic Pro.Pricing and other details will be announced when everything is released. Hold tight!
Breaking changes
Because Forms 2.0 is being released in a minor release, we've done our best to avoid breaking changes, migrating what we can to new formats automatically:
emailconfigs are converted into email connections.$form->blueprint()still works. It's now generated using the form's fields.The
configure form fieldspermission has been removed in favour of finer grained permissions. However, it's still supported for roles currently using it.Documentation: statamic/docs#1957