Disable the Summary maxlength options if Summary input is disabled

Created on 15 July 2022, over 2 years ago
Updated 24 March 2023, over 1 year ago

Problem/Motivation

Text (formatted, long, with summary) fields have an option, Summary input. If disabled, the summary option is not available to editors on the field. However, the Summary maxlength settings still display on the Manage form display page.

This clutters up the Maxlength settings.

Steps to reproduce

  1. Create a content type with a Text (formatted, long, with summary) field
  2. Disable the Summary input option on the field
  3. Navigate to the Manage form display page for the content type
  4. The Summary maxlength settings still appear

Possible resolutions

Option 1: Disable MaxLength summary settings when Summary Input is disabled

Disable the Maxlength settings for summary if the Summary input is disabled for the field. Include a note, Note: The Summary Input for this field is disabled. To set a maximum length, enable the Summary Input option in the field settings form. , on the form.

An example mock up:

Option 2: Display interface text noting that the Summary Input is disabled

Rather adding the complexity both to the code and to the interface of disabling summary fields, display a message informing the site builder that the Summary Input is currently disabled for the field.

Option 3: Leave as is

Since node edit forms that already contain a summary value continue displaying their summary field, it might be best to leave the behavior as is.

Remaining tasks

  • ❌Get maintainer approval for the proposed resolution
  • ❌Implement resolution
  • ❌Write test coverage (contact a maintainer if you need help)
  • ❌Maintainer review via the UI
  • ❌Maintainer Code Review #1
  • ❌Maintainer code review #2
  • ❌Merge into dev branch, with credit to author and participants

User interface changes

TBD

API changes

None

Data model changes

None

Feature request
Status

Postponed

Version

2.1

Component

User interface

Created by

🇺🇸United States cedewey Denver, CO

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.

  • 🇺🇸United States cedewey Denver, CO

    My take is that the way it works currently is ideal as the problem we're trying to solve with hiding the Maxlength Summary field can cause confusion as we've pointed out and the proposed resolutions to that confusion adds complexity to the form that defeats the point of the original goal of streamlining the configuration form. I'm going to mark this as postponed. If others have thoughts and opinions you are encouraged to leave a comment on the issue for our consideration.

  • 🇺🇸United States cedewey Denver, CO
Production build 0.71.5 2024