Repository navigation
[6.x] Link columns in Table fields - #19998
Conversation
Table fields get a Link column type with the same settings as Link fields. Link cells normalize to LinkData, track and localize element references, batch-load linked elements, and use the LinkData GraphQL types. Cells edit links in the Link field popover, and Table column settings now open in a slideout. The Link field's normalization, validation, and localization move into LinkResolver, which also fixes replacing references in Link fields.
📚 Storybook previews@craftcms/ui — open Storybook No changed components detected in this Storybook. resources/js — open Storybook No changed components detected in this Storybook. |
…umns-in-table-fields # Conflicts: # CHANGELOG.md
|
This PR had conflicts with Claude's response
|
Summary
Evidence
Before: Table fields had no Link column type.
After: Link cells summarize the link and edit it in the Link field popover. A cell whose link type is no longer installed keeps its value, but is locked:
Column settings open in a slideout:
Before: replacing references in a Link field rewrote links to unrelated elements (
in_array(! $id, …)never matched) and dropped their labels.After:
Related issues