checkbox ignoring value and default parameters when used directly in form class definition #46

Open
by phryk opened 1 year ago · 0 comments
phryk commented 1 year ago (Migrated from rnd.phryk.net)
Owner
class Foo(poobrains.form.Form):

    fnord = poobrains.form.fields.Checkbox(label="Fnord", default=False)

This should lead to a checkbox that is NOT checked, but it currently seems
impossible to create a non-checked checkbox through class variables. BaseForm.__new__ might be the place messing this up.

``` class Foo(poobrains.form.Form): fnord = poobrains.form.fields.Checkbox(label="Fnord", default=False) ```` This should lead to a checkbox that is *NOT* checked, but it currently seems impossible to create a non-checked checkbox through class variables. `BaseForm.__new__` might be the place messing this up.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.