Module configuration causes settings to become invisible

Created on 13 June 2024, 5 months ago

Problem/Motivation

Seems that when the module settings form is loaded, the display of the single field will only show if

if ($config->get('groupmenu_hide_list')) {

That could be intentional, but means that once toggled off, it cannot be turned back on. Can we display the field at all times?

Steps to reproduce

1. Drupal 10.2.6
2. Latest version of this module
3. Enable this module
4. Go to admin/group/groupmenu
5. Uncheck the option
6. Save

Notice the form is now empty.

Proposed resolution

Allow this field to display regardless of setting

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom aaron.ferris

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