There are many issues on d.o and other Drupal forums asking how the the summary for a text field can be shown by default when loading a form, even when there is no value in the summary field yet. Most of the suggestions involve unsetting the js file that handles the showing/hiding of the summary, which is not a particularly responsible solution.

This issue has brought up this request, but then goes too far and also tries to add an option to allow the summary to be required:
https://www.drupal.org/node/1704864

Since there is now an option when editing a field to explicitly say whether or not the summary input element should be available for entry, it seems reasonable to add another checkbox immediately below asking whether the summary should always be shown.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mikemccaffrey created an issue. See original summary.

mikemccaffrey’s picture

Attached is a patch that adds an "Always show summary" setting for the "Textarea with a summary" field widget.

Version: 8.2.x-dev » 8.3.x-dev

Drupal 8.2.0-beta1 was released on August 3, 2016, which means new developments and disruptive changes should now be targeted against the 8.3.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.3.x-dev » 8.4.x-dev

Drupal 8.3.0-alpha1 will be released the week of January 30, 2017, which means new developments and disruptive changes should now be targeted against the 8.4.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

mikey_p’s picture

Status: Active » Needs review
FileSize
2.38 KB

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

rcodina’s picture

I've just created a Drupal 8 version of Summary Options module. It allows you to make the summary fields optional and visible by default.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

Version: 8.6.x-dev » 8.7.x-dev

Drupal 8.6.0-alpha1 will be released the week of July 16, 2018, which means new developments and disruptive changes should now be targeted against the 8.7.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

larowlan’s picture

Status: Needs review » Needs work
Issue tags: +Needs tests
larowlan’s picture

Status: Needs work » Closed (duplicate)