Skip to content

Commit

Permalink
Allow styling on EditTable/EditColumn
Browse files Browse the repository at this point in the history
  • Loading branch information
jlubcke authored and boxed committed Apr 15, 2024
1 parent 24acc22 commit f61ab17
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions iommi/style.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 = []
Expand Down

0 comments on commit f61ab17

Please sign in to comment.