We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7821e8 commit 8fb52c1Copy full SHA for 8fb52c1
tw2/dynforms/widgets.py
@@ -31,6 +31,8 @@ class GrowingGridLayout(twf.GridLayout):
31
@classmethod
32
def post_define(cls):
33
if hasattr(cls.child, 'children'):
34
+ # don't let the hidden template child cause validation to fail
35
+ cls.child.children[0].validator = None
36
if not hasattr(cls.child.children, 'del'): # TBD: 'del' in ...
37
cls.child = cls.child(children = list(cls.child.children) + [DeleteButton(id='del', label='')])
38
0 commit comments