Questions tagged [laravel-filament]
143 questions
0
votes
0 answers
Laravel Filament - Lost placeholder of my select when I reset it
I'm using FilamentPHP and I come to you because I lose the placeholder of my select when I reset it. A video is much more telling:
Image of problem
I'm using the layout (https://filamentphp.com/tricks/render-html-in-select-options) and haven't had…

Antoine My
- 3
- 3
0
votes
0 answers
i download package composer require laraveldaily/laravel-invoices, but it comes out like this,
$ composer require laraveldaily/laravel-invoices
./composer.json has been updated
Running composer update laraveldaily/laravel-invoices
Loading composer repositories with package information
Updating dependencies
Your requirements could not be…
0
votes
1 answer
How to get the sum of a pivot table column in Laravel Filament?
My Workshop model has this relationship to User model. user_workshop being the pivot table.
public function users(): BelongsToMany
{
return $this->belongsToMany(User::class, 'user_workshop')
->withPivot('num_attending', 'price',…
0
votes
0 answers
How to port a existing laravel project on TALL stack to filament
I have a project already prebuilt on TALL stack. Not too big - around 10 models.. and related crud routes.
How can i move it to Filament? I would like to move it to filament for better meaintenance and scale.
I tried to recreate the roots but some…

tedd81
- 1
0
votes
0 answers
how to pass dependent input field variable to recordSelectOptionsQuery() in filament
I am trying to scope the options based on the input taken from another field. How do I pass this variable inside this recordSelctOptionQuery?
recordSelectOptionsQuery(
fn (Builder $query) => $query->whereBelongsTo(
…

shabxs
- 51
- 1
- 4
0
votes
0 answers
Is there a way to duplicate a row for each related record in filamentphp's many-to-many relationship?
i have a many to many relationship between model A and model B , and how filament works, if i do the following:
Tables\Columns\TextColumn::make('modelB.name'),
i will get all the names of the relationship separated by a comma.
what i am looking to…
0
votes
1 answer
Filamentphp Spatie Media Library 'SpatieMediaLibraryImageColumn' relationship incompatible
When I am trying to use SpatieMediaLibraryImageColumn in the Filament Table I get the following error which I'm unable to resolve.
Declaration of…

Amir Hussain
- 47
- 1
- 8
0
votes
1 answer
How to check the checkbox in filament edit page
In the example of title and slug inputs, which whenever something is written in title, will be written in slug.
But I want to have a checkbox that determines whether it should automatically write(convert) to slug input or…

amir
- 41
- 7
0
votes
0 answers
How to create 404.blade.php with default filomentphp design?
My laravel/livewire sites has resources/views/errors/404.blade.php with structure like :
@extends('layouts.frontpage')
@section('content')
@endsection
where file consists of html tags and php-blade commands.
How can I…

Petro Gromovo
- 1,755
- 5
- 33
- 91
0
votes
0 answers
How to use reactive() function over Laravel Filament DatePicker on 'Year' field
I'm working on a small project using Filamentphp. My form has DatePicker and I'm unable to disable all Weekends days for previous or future years.
It only works for the current year. I couldn't figure out how to use reactive() function on year…

Amir Hussain
- 47
- 1
- 8
0
votes
1 answer
How to disable only weekends in Laravel-Filamentphp or disable all dates except the requested ones
I'm working on a Laravel project using Filamentphp
My form has DatePicker and I'm unable to disable all Weekends days or disable all dates except the one I specify.
DatePicker::make('issue_start_date')
->required()
…

Amir Hussain
- 47
- 1
- 8
0
votes
1 answer
how to add name in column of Actions using filament?
Good afternoon everyone, all right? I hope so
well, i'm doing a little project with laravel, but in terms of styling some things i'm getting lost, i've been trying for 5 days straight but i can't, i've tried the official doc, youtube, forums, stack…

Fabio umpierre
- 1
- 1
0
votes
0 answers
How to restrict access to filament/spatie-laravel-settings-pluginpage with Policy?
In laravel 9.52.5 / filament/filament ^2.17.21 / filament/forms ^2.17.21" app
I added filament/spatie-laravel-settings-plugin 2.17.21 plugin and created settings page with command:
php artisan make:filament-settings-page ManageAppSettings …

mstdmstd
- 2,195
- 17
- 63
- 140
0
votes
1 answer
How in donut chart element of leandrocfe/filament-apex-charts to set custom color for any category?
Using donut chart element of leandrocfe/filament-apex-charts in filament admin site and looking at examples at
https://github.com/leandrocfe/filament-apex-charts site
if there is a way a) set set custom color for any category ? b) show also value…

Petro Gromovo
- 1,755
- 5
- 33
- 91
0
votes
1 answer
Stancl\Tenancy manage tenants users from central domain
I am looking for a way to manage all tenant users (users inside every tenant database) from the Stancl/Tenancy central domain.
When I am on the central domain, the app is connected to the landlord DB.
My expectation is to be able to create the user…