#34034: Adding a class on ChoiceWidget subwidgets is excessingly difficult ----------------------------------------+------------------------ Reporter: Claude Paroz | Owner: nobody Type: New feature | Status: new Component: Forms | Version: dev 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 | ----------------------------------------+------------------------ Unless someone shows the magical way, adding a class on a subwidget of ChoiceWidget (and not on the widget itself) is too difficult.
Maybe adding `option_attrs` (either as class attribute or as `__init__` parameter) could be a solution. -- Ticket URL: <https://code.djangoproject.com/ticket/34034> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/010701836a469e17-a7743d2a-b7ae-43d5-b4c1-1a386b79f6ad-000000%40eu-central-1.amazonses.com.