Field Widget Actions saves unnecessary data to 3rd party settings
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3549303. -->
Reported by: [a.dmitriiev](https://www.drupal.org/user/3235287)
Related to !916 !939
>>>
<p>--- AI TRACKER METADATA ---<br>
Update Summary: Field Widget Actions saves unnecessary data to 3rd party settings<br>
Check-in Date: MM/DD/YYYY (US format) [When we should see progress/get an update]<br>
Due Date: MM/DD/YYYY (US format) [When the issue should be fully completed]<br>
Blocked by: [#XXXXXX] (New issues on new lines)<br>
Additional Collaborators: @username1, @username2<br>
AI Tracker found here: <a href="https://www.drupalstarforge.ai/">https://www.drupalstarforge.ai/</a><br>
--- END METADATA ---</p>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>These properties are saved with 3rd party settings:</p>
<pre> <br> new:<br> action: ''<br> add: 'Add action'</pre><p>But they should not, as it is just part of the form to manage widget actions</p>
<h4 id="summary-steps-reproduce">Steps to reproduce (required for bugs, but not feature requests)</h4>
<ul>
<li>Install field_widget_actions and ai_content_suggestions modules. </li>
<li>Add field widget action to any field.</li>
<li>Export configuration for this field.</li>
<li>Observe extra properties like described above.</li>
</ul>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Sanitize content before saving to 3rd party settings</p>
issue