Arabic textInput

Hello, I have a form with fields in English and Arabic, and I would like to know how to make the Arabic part left-to-right. Thanks
2 Replies
Mohamed Ayaou
Mohamed Ayaou4d ago
you might just add a CSS class for that using: ->extraAttributes(['class'=>'text-right']) try extraInputAttributes if the previous one didn't work Wait !? do you want the arabic fields to be left-to-right? isn't that the default behavior on LTR page? what is your page direction and locale?
karim charfaoui
karim charfaouiOP4d ago
@Mohamed Ayaou i do it like this
->extraAttributes(['dir' =>'rtl'])
->extraAttributes(['dir' =>'rtl'])
but not working for the label

Did you find this page helpful?