Do not expose disabled element types

Created on 10 February 2025, about 1 month ago

Problem/Motivation

A site builder can choose which Webform element types they want to enable in their website. We should only expose the ones that are enabled.

Steps to reproduce

  1. Go to Structure > Webforms > Configuration > Elements (/admin/structure/webform/config/elements).
  2. Expand the "Element types" fieldset.
  3. Take note of one or more element types that are not enabled (e.g. CodeMirror).
  4. Go to the GraphQL explorer.
  5. Check that the corresponding type is not exposed in GraphQL (e.g. WebformElementWebformCodemirror).
Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇧🇬Bulgaria pfrenssen Sofia

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

Comments & Activities

Production build 0.71.5 2024