[6.x] Add Laravel-native Form Definitions - #19359
Closed
riasvdv wants to merge 72 commits into
Closed
Conversation
Restore the legacy filesystem settings methods lost when the adapter parent class changed.
📚 Storybook previews@craftcms/ui — open Storybook Changed components:
resources/js — open Storybook No changed components detected in this Storybook. |
riasvdv
force-pushed
the
feature/form-definition-architecture
branch
from
August 1, 2026 17:42
f02dfb5 to
ff9a250
Compare
- Add separate input provider contract and unsupported-element exception - Project complete container elements and preserve compatibility fallbacks
riasvdv
force-pushed
the
feature/form-definition-architecture
branch
from
August 2, 2026 20:47
b7872d8 to
964104f
Compare
- Add a shared FormDefinition contract and FormContext - Normalize field layouts through Form::fromDefinition() - Update settings consumers, documentation, and tests
Contributor
Author
|
TBC |
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.
Description
Introduces Laravel-native Form Definitions as the structured PHP-to-Vue settings contract for configurable components.
Adds typed PHP authoring and projection APIs, generic reactive Vue rendering, plugin renderer registration, conditional visibility, host binding, read-only and error handling, and Field Layout projection. Migrates core field, filesystem, and dashboard widget settings to native definitions while keeping legacy HTML settings support contained in yii2-adapter.
Documents the renderer extension contract and adds shared PHP and Vue acceptance coverage for native, plugin, Field Layout, and legacy compatibility paths.