Operations Dropbutton improvement, need webform node id/class or form id for a webform node

Created on 3 February 2025, 2 months ago

Problem/Motivation

The display of workflow state descriptions under the operations dropbutton are squished and can't be adjusted by styling. Any adjustments are applied globally.

Steps to reproduce

1. Create a webform with workflow states
2. Make some submissions
3. Create a webform node result table. Example: /web/node/7926/webform/results/submissions
4. Customize the results table to include the Operations dropbutton

Dropbutton

Problem 1 is that the dropdown selections are not independent of the dropbutton itself. The dropbutton should stay at the small size but the selections should expand to the width of the content like any other select.

Webform node id or form id

Problem 2 in a attempt to style it, there is no node id or form id to target it. Any customizations to the dropbutton are applied globally to other webform node results tables.

Example Webform node body class, there is no node id

class="toolbar-icon-10 user-logged-in path-node page-node-type-webform toolbar-horizontal toolbar-fixed toolbar-tray-open"

At /web/admin/structure/webform/manage/my_form/settings/assets a class can be added there but it only applies to the form itself.

For the <form> parts in the result table, there is no unique id or class

Proposed resolution

Add the node id class to and/or add form id to

Make dropbutton selections fit the content.

✨ Feature request
Status

Active

Version

6.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States crutch

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024