Skip to content

[6.x] Form component compatibility - #19665

Draft
lukeholder wants to merge 21 commits into
6.xfrom
feature/6.x-form-component-compatibility-and-usage-updates
Draft

lukeholder wants to merge 21 commits into
6.xfrom
feature/6.x-form-component-compatibility-and-usage-updates

Conversation

@lukeholder

@lukeholder lukeholder commented Sep 19, 2026

Copy link
Copy Markdown
Member

Description

Various fixes and restoration of functionality for Tables and other form components that existed in 5.x

* using {@see self::labelField()}/{@see self::valueField()} (default `name`/`id`) to build its
* label/value.
*/
class ComboboxCreate extends Combobox

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this really be a separate component from the Combobox? @brianjhanson what do you think?

@brianjhanson brianjhanson Sep 21, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say the same component. Ideally, I don't think the Combobbox needs to know it has a "Create" option at all. I'd say the option itself should be able to carry all this functionality and then the developer can just add that specific option into a regular combobox

@github-actions

Copy link
Copy Markdown

📚 Storybook previews

@craftcms/uiopen Storybook

Changed components:

resources/jsopen Storybook

No changed components detected in this Storybook.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants