From f61ab179041682bd8a8a0cdfb5407661f413a834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johan=20L=C3=BCbcke?= Date: Thu, 28 Mar 2024 15:13:27 +0100 Subject: [PATCH] Allow styling on EditTable/EditColumn --- iommi/style.py | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/iommi/style.py b/iommi/style.py index bab42bde..08129ef3 100644 --- a/iommi/style.py +++ b/iommi/style.py @@ -212,6 +212,8 @@ def validate_styles(*, additional_classes: List[Type] = None, default_classes=No from iommi import ( Action, Column, + EditColumn, + EditTable, Field, Filter, Form, @@ -235,23 +237,25 @@ def validate_styles(*, additional_classes: List[Type] = None, default_classes=No default_classes = [ Action, Actions, + Admin, Column, - get_debug_menu().__class__, + Container, + EditColumn, + EditTable, Errors, Field, + FieldGroup, + Filter, Form, + Header, + LiveEditPage, Menu, MenuBase, MenuItem, Paginator, Query, Table, - Filter, - Admin, - Container, - Header, - LiveEditPage, - FieldGroup, + get_debug_menu().__class__, ] if additional_classes is None: additional_classes = []