Issue with Chosen-select with RTL

Post Reply
admin
Posts: 4
Joined: 31 Oct 2019, 02:34
Name: Ramie Al Hamad
Location: Jordan - Amman
Company Name: eMETHOD

Issue with Chosen-select with RTL

Post by admin »

When using RTL, for example, change the direction in the English language to RTL, the users filed type "dropdown and dropdown with multi-select" doesn't view rendered values for the choices.

if you use LTR it works fine. I thought that it is something related to Arabic but I tested it on both English and Russia languages by changing the direction in the language file.
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Issue with Chosen-select with RTL

Post by support »

Yes, it's related to Arabic. And Arabic users don't report about this issue. Probably Chosen detect if RTL is on browser...
admin
Posts: 4
Joined: 31 Oct 2019, 02:34
Name: Ramie Al Hamad
Location: Jordan - Amman
Company Name: eMETHOD

Re: Issue with Chosen-select with RTL

Post by admin »

Hello, It is not only related to Arabic, but the same issue also exists if you use RTL with English or Russian Languages. It would be great if you can help me to fix this.

Thank you
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Issue with Chosen-select with RTL

Post by support »

Can you provide screenshot with issue.
admin
Posts: 4
Joined: 31 Oct 2019, 02:34
Name: Ramie Al Hamad
Location: Jordan - Amman
Company Name: eMETHOD

Re: Issue with Chosen-select with RTL

Post by admin »

Please check the attachments and notice the issue when changing the direction to RTL. LTR is working even for Arabic
Attachments
IMG_20191031_112905.jpg
IMG_20191031_113045.jpg
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Issue with Chosen-select with RTL

Post by support »

As I can see values available in list. Do you mean text in dropdown should be right aligned? Can you show me how default dropdown looks?
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Issue with Chosen-select with RTL

Post by support »

Ok, I see this is bug, the values should be at the right side. Will be fixed for 2.6
admin
Posts: 4
Joined: 31 Oct 2019, 02:34
Name: Ramie Al Hamad
Location: Jordan - Amman
Company Name: eMETHOD

Re: Issue with Chosen-select with RTL

Post by admin »

One note: this exactly happens when you change the direction of the language in the language file to RTL. If kept as LTR no problem appears. Once you change the direction to RTL the values for the dropdown list will not showup.
Post Reply