Virgil
Virgil
Explore posts from servers
TLCTuto's Laravel Corner
Created by MilenKo on 9/13/2024 in #💡filament
Action column Label
Have you also asked this question in the Filament Discord?
4 replies
TLCTuto's Laravel Corner
Created by Obala on 10/3/2023 in #🚀laravel
my routes protected by auth middleware don't redirect to login page
Do you have defined, which route (in the UserController) Laravel has to follow when you're not logged in?
15 replies
TLCTuto's Laravel Corner
Created by Obala on 10/3/2023 in #🚀laravel
my routes protected by auth middleware don't redirect to login page
Hello Obala, Can you show us your web.php file? I think the problem is with the routing.
15 replies
TLCTuto's Laravel Corner
Created by Virgil on 9/23/2023 in #💡filament
Google Distance Matrix API
I want to make a API call to retrieve data with the input of users... We got Location A and Location B, we need to know the total distance., the distance between borders and total traveling time. Maybe in a later stadium it would be nice to combine the route with repeater fields.. But thats a whole lot.
5 replies
TLCTuto's Laravel Corner
Created by samnaghavi on 8/21/2023 in #💡filament
TinyMce in filamentphp as a customField
I think thats the best solution.
15 replies
TLCTuto's Laravel Corner
Created by samnaghavi on 8/21/2023 in #💡filament
TinyMce in filamentphp as a customField
Maybe you can try to fork the plugin and edit the options in the package. I haven't any experience with that. Maybe you contact the owner of the plugin.
15 replies
TLCTuto's Laravel Corner
Created by samnaghavi on 8/21/2023 in #💡filament
TinyMce in filamentphp as a customField
15 replies
TLCTuto's Laravel Corner
Created by Virgil on 8/20/2023 in #💡filament
Problem with relationmanager
I've solved today also 😁 . But forgot to mention here.. It's like
public function form(Form $form: Form
{
return $form
->schema([
Forms\Components\Select::make('customercontacts_id')
->label('Contactname')
->columnSpan(2)
->relationship(
name: 'customercontacts',
titleAttribute: 'name',
modifyQueryUsing: fn (Builder $query) => $query->where('customer_id', $this->ownerRecord->id ),
)
->preload()
->optionsLimit(5)
->searchable(),
]);
}
public function form(Form $form: Form
{
return $form
->schema([
Forms\Components\Select::make('customercontacts_id')
->label('Contactname')
->columnSpan(2)
->relationship(
name: 'customercontacts',
titleAttribute: 'name',
modifyQueryUsing: fn (Builder $query) => $query->where('customer_id', $this->ownerRecord->id ),
)
->preload()
->optionsLimit(5)
->searchable(),
]);
}
6 replies