Changes between Initial Version and Version 1 of Ticket #33000


Ignore:
Timestamp:
Aug 7, 2021, 9:08:38 AM (3 years ago)
Author:
Michael
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33000 – Description

    initial v1  
    11A form with the following field:
    2 {{
     2{{{
    33send = forms.BooleanField(label=False, widget=forms.RadioSelect(attrs={'hidden':True}))
    4 }}
     4}}}
    55
    66when rendered as:
     7{{{
    78{{ form.as_table }}
     9}}}
    810
    911will be rendered as:
    10 {{
     12{{{
    1113<tr>
    1214    <th></th>
     
    1618    </td>
    1719</tr>
    18 }}
     20}}}
    1921
    20 Note the lack of input widget. I am trying to create a hidden radio button, to store a boolean value that gets sent to the server. A `CheckboxInput` however does work, and is argueably better in this situation, but this may point to some underlying bug.
     22Note the lack of input widget. I am trying to create a hidden radio button, to store a boolean value that gets sent to the server. A **CheckboxInput** however does work, and is argueably better in this situation, but this may point to some underlying bug.
Back to Top