Frustrating mandatory input

Created on 27 May 2024, 9 months ago

Problem/Motivation

In drupal 10 i've added the field to one of my content types. I have not set the field mandatory myself, yet, each time i update the field it wants me to fill a question out.

Steps to reproduce

1) Create content type
2) Add faqfield
3) Create new content

Proposed resolution

Don't make the input form mandatory as the validation will fail, even if i've not created a new faq-item.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

7.1

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @extincedotse
  • Status changed to Postponed: needs info 4 months ago
  • 🇮🇹Italy kopeboy Milan

    I just installed this module (version 8.x-7.1) on Drupal 10.3.6 and I can't reproduce this. I can create new content with the faq field empty and no error nor any field artifact will show up in the saved content.

    Are you sure your field doesn't have the "Required field" option enabled in its field settings, nor the "Required Field Question" and "Required Field Answer" checkboxes in the field formatter options (at Manage Form Display)?

Production build 0.71.5 2024