Add kwarg for text-direction in modelfields
|Reported by:||anonymous||Owned by:||nobody|
|Severity:||Normal||Keywords:||RTL, right-to-left, text-direction|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
bidi UX issue here.
some of my projects use models which have fields like
name_en = models.CharField(max_length=256) name_xx = models.CharField(max_length=256) #where xx is an RTL language, and text entry is done using such.
wonder if it would be a good idea to have something like:
name_xx = models.CharField(max_length=256,admin_text_direction='rtl')
which would set the css of the text input in admin to "text-direction:rtl" which makes it easier to do text-entry.