Changes between Initial Version and Version 1 of Ticket #34721


Ignore:
Timestamp:
Jul 18, 2023, 1:10:32 PM (16 months ago)
Author:
Daniel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34721 – Description

    initial v1  
    3737
    3838Changing `ChoiceField(...)` to `TypedChoiceField(..., coerce=int)` does only affect `my_form.cleaned_data["colour"]`, but neither of `my_form.fields["colour"].choices`,`{{ my_form.fields.colour.choices }}`, or `my_form["colour"]`, or`{{ my_form.colour.value }}`.
     39
     40Ultimately leads to `{% if colour_id == my_form.colour.value %}` never being true when the form is bound, even when it should.
Back to Top