Score:0

Is there a way to make a single type Paragraphs field not required?

sr flag

My Content Type has a Paragraphs field that is Not required. The Paragraph type has a required field for when it is added, but until it is added, this shouldn't trigger "required" for my field. Since my field only has 1 paragraph type option, it is ALWAYS added! I can Remove the paragraph from the field, and required doesn't get triggered. But every time the form loads to add a new node, it always adds a paragraph.

e.g.

  • Paragraph type: Image with caption has an image as a required field.
  • Content type has a field: Photo of that paragraph type that is not required.
  • Add content shows paragraph automatically added and required.

Is this a bug, or a setting I'm missing?

sonfd avatar
in flag
I’m the Form display settings for your content type, configure your paragraph field to **not** add a default paragraph.
sr flag
Thanks! It's called **Default paragraph type** and I just had to set it to `- None -`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.