#33235: MultiWidget id_for_label
------------------------------------------------+------------------------
Reporter: Maxim Danilov | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Forms | Version: 3.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
The instance from Raw MultiWidget class generate id_for_label like
f'{id_}0'
It has not sense.
For example ChoiceWidget has self.add_id_index and I can decide it myself,
how I will see label_id - with or without index.
I think, it is better to remove completely id_for_label method from
MultiWidget Class.
--
Ticket URL: <https://code.djangoproject.com/ticket/33235>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.dc45de971207a13e86947548cef1c71e%40djangoproject.com.