From 907132544eaecd324c6756d010b8212cadb7c306 Mon Sep 17 00:00:00 2001
From: mxh <webit.haupt@googlemail.com>
Date: Fri, 22 Nov 2024 17:03:18 +0100
Subject: [PATCH] Issue #3309284 by mxh: Add a new parameter plugin for options

---
 config/schema/parameters.schema.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/config/schema/parameters.schema.yml b/config/schema/parameters.schema.yml
index 0a12962..db9df8a 100644
--- a/config/schema/parameters.schema.yml
+++ b/config/schema/parameters.schema.yml
@@ -226,3 +226,17 @@ parameter.float:
     value:
       type: string
       label: 'Float value'
+
+parameter.options:
+  type: parameter_plugin
+  label: 'Options'
+  mapping:
+    options:
+      type: sequence
+      label: 'Defined options'
+      sequence:
+        type: label
+        label: 'Option label'
+    default:
+      type: string
+      label: 'Default option'
-- 
GitLab