diff --git a/templates/components/datatable.html.twig b/templates/components/datatable.html.twig index 84431ddc444..22daf904a0e 100644 --- a/templates/components/datatable.html.twig +++ b/templates/components/datatable.html.twig @@ -181,6 +181,16 @@ style="max-width: 250px;"> {{ entry[colkey] }} + {% elseif formatter == "collapse" %} + {% set rand = random() %} +
+
+ {{ __("See data") }} +
+
+ {{ entry[colkey]|raw }} +
+
{% elseif formatter == "longtext" %}