Page 1 of 1

Select2 field options direction and alignment for RTL languages

Posted: Sat Jul 13, 2024 2:06 pm
by mansour

Hi,
I'm using the last version of phpmaker for my project (Persian/RTL). the select2 field options alignment should be at right. How I can change the options alightment from left to the right?

Thanks


Re: Select2 field options direction and alignment for RTL languages

Posted: Sat Jul 13, 2024 11:45 pm
by arbei

Make sure your language file uses correct RTL language ID, e.g. fa_IR.


Re: Select2 field options direction and alignment for RTL languages

Posted: Tue Jul 16, 2024 11:22 pm
by mansour

Hi,
I used "fa-IR" as the language id for Persian language. I have NO any issue with this language except for select2 options alignment.
Is there any configuration for select2?
Thanks


Re: Select2 field options direction and alignment for RTL languages

Posted: Wed Jul 17, 2024 10:39 am
by Webmaster

Please update to the latest template (Tools -> Update Template) and try again.