Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 300758

Can't uncheck "Require summary" and "Summary input" in the body field after I created & deleted some pages

$
0
0

Problem/Motivation

Sorry if this has been discussed before, I used the search engine and I couldn't find any related issue.

I started a fresh new D11 instance (11.0.10) and I wanted to use the "Basic Page" Content Type to create some intro pages, then I went to "Body field" settings (/admin/structure/types/manage/page/fields/node.page.body) and I initially checked the "Require summary" option because I intended to use this summary as feeder for SEO options (metatags), so I set the field as required:

Screenshot of the body field settings

I didn't put any default value in the Summary.

After that I created some basic pages:

Screenshot of Editing a basic page

Screenshot of the basic page

But then my client decided that the summary field wasn't needed, and we could just use the metatag fields from the Metatag module to fill that info, so I went back to the "Body field" settings to uncheck the "Require summary" and "and Summary input" options, but is forcing me to put a default text instead (even if some content was already created):

Screenshot of the body field settings

I even deleted the pages and tried again to unset these checkboxes, but I couldn't unless I put a default content in the summary:

Screenshot of the body field settings

After I added the test default content and saved, I was able to uncheck the boxes (and then deleting the dummy content)

Screenshot of the body field settings

Steps to reproduce

Check description below

Proposed resolution

I am not an UX expert, and perhaps this is just an user error, but wouldn't be better to just mark the "summary" text box as "not required" once I uncheck the "Require summary" checkbox? Will this break the data integrity or something like that?

Remaining tasks

User interface changes


Viewing all articles
Browse latest Browse all 300758

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>