From 91ff5370e180ec1e88fffdff273f2bb73f6fe875 Mon Sep 17 00:00:00 2001 From: valentina Date: Mon, 28 Oct 2024 09:50:10 +0100 Subject: [PATCH] fix: colore di sfondo options selezionati --- src/HTMLBuilder/Handler/SelectHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HTMLBuilder/Handler/SelectHandler.php b/src/HTMLBuilder/Handler/SelectHandler.php index b2f0c4a30..c0bdb31b6 100755 --- a/src/HTMLBuilder/Handler/SelectHandler.php +++ b/src/HTMLBuilder/Handler/SelectHandler.php @@ -168,7 +168,7 @@ class SelectHandler implements HandlerInterface } if (!empty($element['_bgcolor_'])) { - $attributes[] = 'style="background:'.$element['_bgcolor_'].'; color:'.color_inverse($element['_bgcolor_'].';"'); + $attributes[] = 'style="background:'.$element['_bgcolor_'].'; color:'.color_inverse($element['_bgcolor_']).'"'; } // Leggo ulteriori campi oltre a id e descrizione per inserirli nell'option nella forma "data-nomecampo1", "data-nomecampo2", ecc