From 578f9fe4095d54b49908b6439a30ddfbe7289a75 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Szczepan=20Musia=C5=82?=
 <23603-lamp5@users.noreply.drupalcode.org>
Date: Thu, 1 Aug 2024 18:05:57 +0000
Subject: [PATCH] Issue #3465158 by lamp5: Schemas for views bootstrap are
 incorrect

---
 .../schema/views_bootstrap.style.schema.yml   | 39 ++++++++-----------
 1 file changed, 17 insertions(+), 22 deletions(-)

diff --git a/config/schema/views_bootstrap.style.schema.yml b/config/schema/views_bootstrap.style.schema.yml
index 77a800d..18bbed2 100644
--- a/config/schema/views_bootstrap.style.schema.yml
+++ b/config/schema/views_bootstrap.style.schema.yml
@@ -72,34 +72,26 @@ views.style.views_bootstrap_carousel:
       type: boolean
       label: "Wrap"
     effect:
-      type: select
+      type: string
       label: "Effect"
-      options:
-        '': "No effect"
-        slide: "Slide"
-        slide carousel-fade: "Fade"
     columns:
-      type: select
+      type: integer
       label: "Columns"
-      options:
-        1: "1"
-        2: "2"
-        3: "3"
-        4: "4"
     breakpoints:
-      type: select
+      type: string
       label: "Breakpoints"
-      options:
-        xs: "Extra Small"
-        sm: "Small"
-        md: "Medium"
-        lg: "Large"
     display:
-      type: radios
+      type: string
       label: "Display"
-      options:
-        fields: "Select by fields"
-        content: "Display fields as row content"
+    image:
+      type: string
+      label: "Image"
+    title:
+      type: string
+      label: "Title"
+    description:
+      type: string
+      label: "Description"
 
 views.style.views_bootstrap_grid:
   type: views_style
@@ -197,12 +189,15 @@ views.style.views_bootstrap_tab:
       label: "Fade Effect"
 
 views.style.views_bootstrap_table:
-  type: views_style
+  type: views.style.table
   label: 'Views bootstrap table'
   mapping:
     responsive:
       type: boolean
       label: "Responsive"
+    table_class_custom:
+      type: string
+      label: "Table custom class"
     bootstrap_styles:
       type: mapping
       label: "Bootstrap styles"
-- 
GitLab