FilamentF
Filament7mo ago
Aman

How can use Select with translation by lang file on select Options

How can use Select with translation by lang file on select Options
use Translatable; use Filament\Resources\Concerns\Translatable; Select::make('option') ->options(fn () => [ 'monthly' => __('content.priceing.monthly_label'), 'one-time' => __('content.priceing.one_time_label'), ]) ->live() ->nullable()->columnSpan(6)

https://prnt.sc/fx6ctwHPv505
Lightshot
Captured with Lightshot
Was this page helpful?