From 2db5c33fa64ee2423c677dac2bafc80fecc42687 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 4 Dec 2025 10:40:42 +0100 Subject: [PATCH] remove empty option when allow-empty is set --- views/bootstrap4/class.Bootstrap4.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap4/class.Bootstrap4.php b/views/bootstrap4/class.Bootstrap4.php index b2f366967..8d355c6ad 100644 --- a/views/bootstrap4/class.Bootstrap4.php +++ b/views/bootstrap4/class.Bootstrap4.php @@ -1197,8 +1197,8 @@ background-image: linear-gradient(to bottom, #882222, #111111);; echo ' '.$a[0].'="'.$a[1].'"'; echo ">"; if(isset($value['options']) && is_array($value['options'])) { - if($allowempty) - echo ""; +// if($allowempty) +// echo ""; foreach($value['options'] as $val) { if(is_string($val)) { echo '';