#25078: Support disabled form fields -----------------------------+------------------------------------ Reporter: claudep | Owner: nobody Type: New feature | Status: new Component: Forms | Version: 1.8 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 1 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -----------------------------+------------------------------------
Comment (by claudep): Displaying a value is triggering a whole different machinery, as the `readonly_fields` admin patch shows. I think what we address in this issue is a lot simpler as we simply rely on a HTML attribute. I think that displaying the disabled form widget makes sense as we are still in the context of displaying a form, but for whatever reason, some field is not editable by the current user. -- Ticket URL: <https://code.djangoproject.com/ticket/25078#comment:5> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.173176cdaec73a06b53756c2e877f061%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.