Auto-decide target element main property to auto-solve single property fields instead of defaulting to 'value'
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3563497. -->
Reported by: [scott_euser](https://www.drupal.org/user/3267594)
Related to !3
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Some fields like entity reference use 'target_id' yet 'value' is set as a fixed default. Suggest to auto-select the correct target. </p>
<p>As discussed in the MR comments this will only solve for single property fields (most) but will not solve for image/date range which have additional properties like alt text and end date. </p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<p>Attempt to build an FWA for an entity reference</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Update get target element method </p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>MR</p>
<h3 id="summary-ui-changes">User interface changes</h3>
<p>N/A</p>
<h3 id="summary-api-changes">API changes</h3>
<p>N/A</p>
<h3 id="summary-data-model-changes">Data model changes</h3>
<p>N/A</p>
issue