Allow disabling open/closed/schedule on field widget

Created on 23 November 2022, almost 3 years ago
Updated 13 April 2023, over 2 years ago

Problem/Motivation

We often allow our clients to add a webform component to a page through paragraphs, but the open/closed/scheduled options are very confusing and unnecessary for them, so we often end up form_altering them out. The form display options for the field widget allow for disabling "Enable default submission data (YAML)", but they don't offer an option for disabling the open/closed/scheduled status.

Steps to reproduce

  • Add a webform reference field to an entity.
  • Add an entity of that type and observe the open/closed/scheduled status option.
  • Go to the form display options for the field widget and observe there is no option to disable the open/closed/scheduled status.

Proposed resolution

Add an option to disabled changing the status on the webform reference field widgets.

Remaining tasks

Review patch.

User interface changes

Added an option to disable changing the status on the webform reference field widgets, similar to the option to hide the default submission data (YAML).

API changes

n/a

Data model changes

n/a

✨ Feature request
Status

RTBC

Version

6.2

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium seutje Antwerp

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.

Production build 0.71.5 2024