neverender24
Placeholder badge color not working
I have made a badge which color is based on the condition. My problem is the class color is not reflected EXCEPT for gray color. Yellow and green does not reflect. Although I checked it in browser dev view the class (e.g bg-yellow-100) is there but the actual style is not applied.
7 replies
How to access $record in RelationManager inside Repeater Select
What I am trying to do:
I have a RelationManager and I want to access $record inside getSearchResultsUsing() which is in a repeater, I do this for additional query filter in the select search
My issue/the error:
$record always return null, inside the repeater, the $record outside it seem to do fine.
Code:
3 replies
How to retain sidebar scroll position if there are many menu items.
I have navigation that has many items, it has scrollbar in nav. But if I click the bottom items, the position of the scroll goes back to the top. I have ->spa() enabled also.
3 replies
Dependent select searchable
I can't seem to make this work. The second selection doesn't seem to populate.
If I use the options ()instead of getSearchResultsUsing() and
getOptionLabelUsing() Without searchable(), the second selection populates but doesn't clear it. But I want both of the selects is searchable.
17 replies
TextInput afterStateUpdated() reactive weird behavior
I have copied a well-functional code from my V2 app. But I have this weird behavior in V3 The text goes back and forth. The code works really well in V2. I have tested it also in a freshly installed Laravel and Filament V3.
41 replies
Custom filament page route for change password
I created a custom filament page using this https://filamentphp.com/docs/2.x/admin/resources/custom-pages
And added to appserviceprovider boot. I call the Resource URL with the following. I also added the page in the resource getPages().
use Filament\Facades\Filament;
use Filament\Navigation\UserMenuItem;
Filament::serving(function () {
Filament::registerUserMenuItems([
UserMenuItem::make()
->label('Change Password')
->url(UserResource::getUrl('changePassword'))
->icon('heroicon-s-cog'),
]);
});
I get error
Route [filament.resources.users.changePassword] not defined.
How do I register the route?
8 replies