Remove Update button from ContextualFormPanel

Created on 26 October 2025, about 1 month ago
Updated 6 November 2025, 19 days ago

Problem/Motivation

There is this button in ContextualFormPanel:

    $build['update'] = [
      '#type' => 'button',
      '#value' => 'Update',
      '#submit_button' => FALSE,
      '#attributes' => [
        'type' => 'button',
        'data-wysiwyg-fix' => TRUE,
      ],
    ];

Which have its own logic in HtmxEvent::onInstanceUpdateButtonClick().

ContextualFormPanel seems to work well without it now and this create visual noise, some confusion ("do I need to click on it?") and uncessary code.

Proposed resolution

Can we remove it? Is it still useful in some situations? Which ones? Is it useful for accessibility?

📌 Task
Status

Active

Version

1.0

Component

UI/UX/Islands

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024