FilamentF
Filament13mo 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'])
(or could just be rtl, but sometimes it's not urdu)
Was this page helpful?