e.g. (this is from a real-world client example!) if there was a form that only showed fields that contain values, but added a custom element to specifically add further fields to the form(s). That would need to show on both the shared and translation forms. (Although should that itself be smarter to only add translatable fields on translation forms; and untranslatable ones on the shared forms maybe?!)

Comments

james.williams created an issue. See original summary.

james.williams’s picture

That real-world example actually uses https://www.drupal.org/sandbox/jamsilver/field_attach_form_selective, not a custom element. We could still add some kind of 'opt-out' to the separation; e.g. support some a property on elements like '#etssef_all_forms' => TRUE, which that could use.

That particular use case may still need to adjust its own implementation as well, as suggested, but that's a separate issue.

  • james.williams committed 7e49dfc on 7.x-1.x
    Issue #3158751 by james.williams: Allow custom elements on shared +...
james.williams’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.