#34488: ClearableFileInput widget forgets "Clear" selection when form is not
valid
-------------------------------------+-------------------------------------
Reporter: bmihelac | Owner: Baha
| Sdtbekov
Type: Bug | Status: closed
Component: Forms | Version: 4.1
Severity: Normal | Resolution: duplicate
Keywords: admin, forms, | Triage Stage:
ClearableFileInput | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by bmihelac):
Hi Basha,
I have created minimum app
https://github.com/bmihelac/django-34488
credentials are admin:test
Please note that app behaves differently in Django 4.1.x and Django 4.2.x
(as you can see on screencast below or try yourself). Django 4.2 still
forget clear checkbox, but at least checkbox is shown.
[https://code.djangoproject.com/attachment/ticket/34488/django41-c.webm]
[https://code.djangoproject.com/attachment/ticket/34488/django42-c.webm]
let me know if anything else is needed
--
Ticket URL: <https://code.djangoproject.com/ticket/34488#comment:6>
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/010701877e692702-b51fcff5-c2a2-4daf-a831-f83c1a2db9d8-000000%40eu-central-1.amazonses.com.