Changes between Initial Version and Version 1 of Ticket #33000
- Timestamp:
- Aug 7, 2021, 9:08:38 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33000 – Description
initial v1 1 1 A form with the following field: 2 {{ 2 {{{ 3 3 send = forms.BooleanField(label=False, widget=forms.RadioSelect(attrs={'hidden':True})) 4 }} 4 }}} 5 5 6 6 when rendered as: 7 {{{ 7 8 {{ form.as_table }} 9 }}} 8 10 9 11 will be rendered as: 10 {{ 12 {{{ 11 13 <tr> 12 14 <th></th> … … 16 18 </td> 17 19 </tr> 18 }} 20 }}} 19 21 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.22 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.