Top bar sticky actions are served from cache
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3573784. -->
Reported by: [duivw](https://www.drupal.org/user/3805802)
Related to !752
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The sticky actions in the top bar of the node edit form (status checkbox, submit button) are served from a render cache meaning that if you try to save an entity with validation errors, and the status field changed, the status field will revert to the original state on form rebuild. </p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<ol>
<li>Edit an existing entity, such that it can't save with validation errors</li>
<li>(un)check the status field</li>
<li>Try to save the entity</li>
<li>The status field is reverted to the initial state</li>
</ol>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>Initial thought was a lazy builder for the sticky. Another solution would be to introduce the sticky top bar actions as a top bar item plugin. </p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
> Related issue: [Issue #3585951](https://www.drupal.org/node/3585951)
issue