From dbce9c407016d1f55293583cb05566f419bc2395 Mon Sep 17 00:00:00 2001 From: stonebuzz Date: Tue, 30 Jan 2024 15:11:56 +0100 Subject: [PATCH] feat(datatable): add capability to define row format --- templates/components/datatable.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/components/datatable.html.twig b/templates/components/datatable.html.twig index c1be66b8011..26546960963 100644 --- a/templates/components/datatable.html.twig +++ b/templates/components/datatable.html.twig @@ -172,7 +172,7 @@ {% if colkey in entry|keys %} - {% set formatter = formatters[colkey] %} + {% set formatter = row_formatters[colkey]|default(formatters[colkey]) %} {% if formatter == "maintext" %}