Comments & Discussion
Excellent course! I would like to see something on creating custom Filament Components.
umm maybe implementing a radio card component. https://i.ytimg.com/vi/n2vd1LC6nvg/maxresdefault.jpg
Good evening, I just played around with Roles -> Permissions and Policies. Allw works fine, Admin can do anything, Users can only edit/delete records they have created themselves. But I wonder the folowing Situation: User created a Country (he/she can delete / edit it), another User create a Region and has the Country_id as hierarchie. So what happens if the user who deletes the country (delete is set to cascade) even deletes the Region (whatfor he has normaly no permission) ? Is it better not to delete on cascade but let laravel do it by rules ? (Maybe show : Country could not be deleted, Regions are present) ? Or is there a "smarter" way ?
By the way, great course, great Job, a lot of fun and knowledge !
@edit : Just tested it, it will be deleted. Changed all from on delete("cascade") -> ("restrict") and used Povillas Video on youTube for custom validation and delete message but updated it a little bit to F4, it gave a toast success and a toast danger message and it wont be fixed ...... Now my button is gray with a tooltip when the record can't be deletet :-)
Thx still alot of fun -> Project grows !
Thanks for an excellent, timely and comprehensive course, Povilas. I appreciate your teaching style and your being out front on issues such as demonstrating how to install Filament-Shield even though that plugin was in beta at the time of this video.
We open-source devs are always balancing our future proof stances with not being too far out on the bleeding edge of these emerging technologies. This course was well paced and expertly presented -- well worth the subscription price. Thanks, - John Ogle, MD (USA)
Shield isn't in beta anymore
Thanks Nerijus, that is great news...I just checked and the plugin was still in beta for version 4.0 as of 2 hours ago per filamentphp plugins page (they are probably slow to update), I'm happy Shield is out of beta, and my comment above still stands. Will install it ASAP.
Dont know how it shows in the filamentphp page but checking versions should always be on
Its confusing. Github said, its 4.x-beta. The official doc same: "Not compatible with the latest version Supported versions: 2.x - 3.x" What now?