@ -2234,7 +2234,7 @@ class Display
$additionalAttributes['class'] = 'mdi mdi-';
if ($name instanceof ActionIcon or $name instanceof ToolIcon) {
if ($name instanceof ActionIcon or $name instanceof ToolIcon or $name instanceof ObjectIcon or $name instanceof StateIcon) {
$additionalAttributes['class'] .= $name->value;
} else {
$additionalAttributes['class'] .= $name;