F
Filament4mo ago
jim

RTL form element

Is there an easy way to set a particular form component to dir="auto" instead of whatever the direction of the panel is? I'm setting up a page where people can input translations, so one field is english and the other is urdu.
Solution:
Figured it out:
->extraAttributes(['dir' => 'auto'])
->extraAttributes(['dir' => 'auto'])
(or could just be rtl, but sometimes it's not urdu)
Jump to solution
2 Replies
Solution
jim
jim4mo ago
Figured it out:
->extraAttributes(['dir' => 'auto'])
->extraAttributes(['dir' => 'auto'])
(or could just be rtl, but sometimes it's not urdu)
engmgemy
engmgemy2mo ago
Can I ask to make switcher rtl and ltr

Did you find this page helpful?