Skip to content

Form builder: field logic dropdown wraps longer options #16085

Done

Description

@helloDanuk

Bug description

In the field logic dropdown (Always show / Always hide / Show when… / Hide when…), the menu is only as wide as the button. Options that are a bit longer wrap onto two lines, and the wrapped text is no longer aligned with its icon.

In English all options are short, so it doesn't show. In German, "Ausblenden, wenn…" (Hide when…) wraps. The options should stay on one line, with the menu growing to fit its longest option.

Bildschirmfoto 2026-11-27 um 10 12 41

How to reproduce

  1. Switch the CP to German. (There is already a earlier translation for "Hide when…", so it can be tested even without merged [6.x] German translations for Forms 2, plus consistency and accuracy fixes #16029)
  2. Open a form in the form builder, select a field and go to the Logic tab.
  3. Open the dropdown that says "Immer einblenden".

Logs

Environment

Environment
Laravel Version: 13.44.1
PHP Version: 8.4.27
Composer Version: 2.11.2
Environment: local
Debug Mode: ENABLED
Maintenance Mode: OFF
Timezone: UTC
Locale: de_CH

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Statamic
Addons: 0
License Key: Not set
Sites: 1
Stache Watcher: Enabled (auto)
Static Caching: Disabled
Version: 6.44.0 PRO

Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions