© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•15mo ago•
4 replies
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
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

RTL
FilamentFFilament / ❓┊help
2y ago
Modify query for Select Element on form with relationship based on another form element
FilamentFFilament / ❓┊help
2y ago
Repeater form, getting current element index?
FilamentFFilament / ❓┊help
2y ago
Refresh Form With Dynamic Element Names
FilamentFFilament / ❓┊help
3y ago