F
Filament3w 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
1 Reply
Solution
jim
jim3w ago
Figured it out:
->extraAttributes(['dir' => 'auto'])
->extraAttributes(['dir' => 'auto'])
(or could just be rtl, but sometimes it's not urdu)
Want results from more Discord servers?
Add your server