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

Open
opened 2020-09-21 08:38:23 +00:00 by phryk · 0 comments
phryk commented 2020-09-21 08:38:23 +00:00 (Migrated from rnd.phryk.net)
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
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: phryk-evil-mad-sciences-llc/poobrains#46
No description provided.