I Have Problem With Select Column widget
While I want to select roles other selections is hidden
Here is my code
SelectColumn::make('role')
->label(__('lang.role'))
->options([
0 => __('lang.user'),
1 => __('lang.admin'),
2 => __('lang.shop_owner'),
4 => __('lang.shop_employee'),
])
->sortable()
->searchable(),``
And if i add native(false) code i ll get the error method not found , how to fix ,18 Replies
What is the filament version?
3.0.0
Add ^3.0 in your composer.json and run composer update
how did you fix that bug?
what is the filament version?
"filament/filament": "^3.0",
did you run composer update?
yes
twice
Filament version on the dashboard page?
v3.0.0.0
still running 3.0..
you could remove composer.lock and try again..
i did remove composer.lock then run composer update, but version still remain the same
share the composer.json
should work.. try
composer reinstall filament/filament
php artisan filament:upgrade
still it didn't work
any chance there's a clash between
filament/filament
and filament/forms
? You don't need both, right?do you want me to change them as well?
yeah it worked, thanks