Choices hints are never shown in Django 5.0+
RealOrangeOne opened this issue · comments
Jake Howard commented
Django 5.0 added the option for form choices to be defined using enums. Unfortunately, this results in the values being normalised to a plain tuple, which loses the .hint
attribute.
The normalisation doesn't happen in all cases, and there are fixed types which bypass it. Perhaps we can extend one of those for Choices
to allow it to bypass normalisation.