Add "Expanded" option in field settings.

Created on 4 May 2023, almost 2 years ago

Problem/Motivation

It would be helpful to allow the field setting to have a default value for the "Expanded" boolean.
Having the ability to expand per item would be nice too.

Steps to reproduce

Proposed resolution

Add a field type setting to have a default value that can be on/off per field.
Add a checkbox in the field widget to support per item toggling.

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States pookmish

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

Comments & Activities

  • Issue created by @pookmish
  • Open on Drupal.org β†’
    Core: 10.0.7 + Environment: PHP 8.1 & MySQL 8
    last update almost 2 years ago
    Waiting for branch to pass
  • @pookmish opened merge request.
  • Status changed to Needs review almost 2 years ago
  • πŸ‡ΊπŸ‡ΈUnited States pookmish
  • Status changed to RTBC 11 days ago
  • πŸ‡ΊπŸ‡ΈUnited States jnicola

    So as misfortune would have it... I needed this, and nothing else would do. There's just no way to programmatically expand everything in a menu tree for whatever reason.

    This works GREAT. Update script is great, everything works... color me impressed but nice work and it did the trick first try!

Production build 0.71.5 2024