How to use custom Admin UI with Filament
how to set a value of an input field using values in a repeater
foreach(price * quantity)
inside the total field->afterStateUpdated(fn ($state) => dd($state))
on the repeater and examine the results. It should be an array with all the items in the repeater. This will fire when you click the add
action of the repeater and when you update items in the repeater. New empty items have a uuid key. But I imagine you can easily traverse the array, make calculatioins and set the value to the total. Let me kn...Working on a Laravel Filament project using remote Shared Hosting
is there a way to mutate data on createOptionForm in Select input.
is there a way to make tabs filter optional according to roles
getTabs()
method returns the tabs you need as an array, You can easily customize the return value based on the user role.
```php
public function getTabs(): array
{...Render data from two resources
Need Help wrapping my mind around Filament implementation
how to share resources on both panels
Custom setting page with filamentphp
Validation doesn't work on form created with createOptionForm
->label('CPF')...
TinyMce in filamentphp as a customField
Making tabs for edit page
can you explain how to send a email invitation when you add a new doctor ?
Example UserResource with Password reset button
Problem with relationmanager
How to set company_id in role_user table
company_id
(multi-tenancy) doesn't get saved to the pivot table (remains null)
Is there a way to set the pivot table with the currently logged in company_id
when assigning roles to a user?
I'm using a UserResource
to do this, and I just add the roles selector component using:...Hide column in table conditionally
if
another column has a value
In this specific example:...Pivot table issue
company_litter
that gets filled automatically by Filament
But for some reason it's still requiring a company_id
field in the litters
table
Filament fills in the company_id
in the litters
table, as well as the company_litter
table...How to customize Table/List view