#34488: ClearableFileInput widget forgets "Clear" selection when form is not 
valid
-------------------------------------+-------------------------------------
     Reporter:  bmihelac             |                    Owner:  Baha
         Type:                       |  Sdtbekov
  Cleanup/optimization               |                   Status:  new
    Component:  Forms                |                  Version:  4.1
     Severity:  Normal               |               Resolution:
     Keywords:  admin, forms,        |             Triage Stage:  Accepted
  ClearableFileInput                 |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

 * status:  closed => new
 * type:  Bug => Cleanup/optimization
 * resolution:  duplicate =>
 * stage:  Unreviewed => Accepted


Comment:

 > When do a submit and validation error occurs, we persist the "invalid"
 data in the form. I think keep the checkbox checked would be the same
 behaviour.

 Agreed. Would you like to prepare a patch?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34488#comment:9>
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/010701878d679df3-4e98eb56-53a7-49a2-a2d6-bad4a093723b-000000%40eu-central-1.amazonses.com.

Reply via email to