Set configuration form to hidden, limits default field values

Created on 17 December 2020, over 3 years ago
Updated 21 June 2023, about 1 year ago

Problem/Motivation

When you set the "Configuration form setting" to "hidden" in your page display, the default value of the field are not visible anymore when you want to edit your defaults (So it will be updated on every node!)

Steps to reproduce

  1. Add a menu block ( https://www.drupal.org/project/menu_block β†’ )
  2. Add a block field with this menu block
  3. Set the Configuration form settings to "Full" in the display mode of your content type
  4. Set some defaults for this menu in your field of the content type and see that you have lots of options for this block
  5. Make a node and place it within a menu and see that your default settings are right.
  6. Now, set the Configuration form settings to "Hidden" in the display mode of your content type. You really don't want to see show all these options to an editor!
  7. Try to edit you default settings again and see that you don't have the options that you had before!
  8. Make a node and place it within a menu and see that your default settings are NOT right anymore
  9. So, you need to set the Configuration form settings to "Full", otherwise the settings are not available for your block.

    Proposed resolution

    Make the default settings available when settings the Configuration form to "Hidden" on the form display so editors can't change any settings.

    Remaining tasks

    Fix this bug and write a patch

πŸ› Bug report
Status

Active

Version

1.0

Component

User interface

Created by

πŸ‡³πŸ‡±Netherlands Dennis Cohn

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.

  • πŸ‡©πŸ‡ͺGermany Anybody Porta Westfalica

    Confirming this issue still seems to exist.
    Another logical issue is, that if a block has required settings and the form is hidden, these values are never set, which may lead to other errors. Perhaps the hiding-logic at all should be overthought?

Production build 0.69.0 2024