Allow linking `ContentTemplate` SDC/code component instance props to fields (aka finally use `DynamicPropSource`s!)
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3541037. -->
Reported by: [hooroomoo](https://www.drupal.org/user/3688872)
Related to !57
>>>
<h3 id="overview">Overview</h3>
<p><span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3541034" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3541034</a></span> added a component props form for content templates with support for static inputs. Introduce dynamic prop sources by allowing linking a component prop to a field of the entity bundle.</p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<p>Extend the component props form implemented in <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/canvas/-/work_items/3541034" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/canvas/-/work_items/3541034</a></span>. Render form elements with additional UI that enables users to link to fields displays the current links. Use the HTTP API implemented in <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/experience_builder/issues/3510896" title="Status: Closed (fixed)">#3510896: Add a new internal HTTP API for candidate `DynamicPropSource`s to enable a `ContentTemplate` UI</a></span>.</p>
<h3 id="ui-changes">User interface changes</h3>
<p><img src="https://www.drupal.org/files/issues/2025-08-13/xb-content-template-dynamic-field-link.jpg" alt="Dynamic prop source linking"></p>
<p><a href="https://www.figma.com/design/0NFfNz2uJWs8Kr2pMpLXPf/External---Experience-Builder---Design-System?node-id=7163-43365">https://www.figma.com/design/0NFfNz2uJWs8Kr2pMpLXPf/External---Experience-Builder---Design-System?node-id=7163-43365</a></p>
> Related issue: [Issue #3510896](https://www.drupal.org/node/3510896)
> Related issue: [Issue #3503038](https://www.drupal.org/node/3503038)
> Related issue: [Issue #3548297](https://www.drupal.org/node/3548297)
> Related issue: [Issue #3548320](https://www.drupal.org/node/3548320)
> Related issue: [Issue #3541000](https://www.drupal.org/node/3541000)
issue