#35482: Email and URL form input widgets should always have dir="ltr"
-------------------------------------+-------------------------------------
     Reporter:  Omid Shojaee         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Forms                |                  Version:  5.0
     Severity:  Normal               |               Resolution:
     Keywords:  LTR, RTL, Admin,     |             Triage Stage:  Accepted
  accessibility                      |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  1
-------------------------------------+-------------------------------------
Comment (by Omid Shojaee):

 The perfect implementation would be:

 * Email widget: Always LTR

 * Always LTR for the following fields:

 1. BigIntegerField
 2. BinaryField
 3. DecimalField
 4. EmailField
 5. FileField
 6. FilePathField
 7. FloatField
 8. GenericIPAddressField
 9. ImageField
 10. IntegerField
 11. JSONField (never worked with it. don't know how it is displayed in the
 admin site)
 12. PositiveBigIntegerField
 13. PositiveIntegerField
 14. PositiveSmallIntegerField
 15. SmallIntegerField
 16. URLField
 17. UUIDField

 * And, optional "dir" attribute for CharField and TextField in case
 someone needs it.

 I believe the above will totally eliminate the need to override model
 forms just to add proper direction.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35482#comment:12>
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/0107018fbaeaab67-6d648521-3034-48f0-b24e-fc1a18730114-000000%40eu-central-1.amazonses.com.

Reply via email to