1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-16 19:40:44 +01:00

fix: colore di sfondo options selezionati

This commit is contained in:
valentina 2024-10-28 09:50:10 +01:00
parent eb9e0d9c19
commit a60469eb81

View File

@ -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