`->unique()` rule inside relationship instead of whole table
/{clientSlug}/{productSlug}
On ClientResource
, I have a ->unique(ignoreRecord: true)
on the slug field and this works fine.
Now I want to be able to create multiple product with the same productSlug unless they have the same parent (client).
I found ->unique(modifyRuleUsing: function (Unique $rule, $record)
but I'm not sure how to implement this....Infolist table repeater or key-value from a relationship?
Author
model, is there an infolist entry I can use to display a list of all the author's books from a related Book
model?...How do I close Action modal using $wire when process is done
Delete a Record intentionally with relationships
How to get the clean state after using mask()?
afterStateUpdated
, how to get the $state
value as unmasked? Because In form when using $this->form->getState()
the value gets cleaned.
```
TextInput::make('phone')
->placeholder('Phone Number')...Action is not called when first clicked on modal with modalContent()
Full screen editor
Good course on testing?
resource not displaying on sidebar
php artisan make:filament-resource Customer --generate
but it is not displaying on sidebar. i added this function in my resource file...change fileupload field preview url
Can't login anymore
Change table row background color based on hexadecimal
How to Fix 'Call to undefined method' Error in Inherited Laravel Model?
How To Register Custom Color to Panel
Conditional rules not working
Hide button create & cancel on wizard
Calling a Method Inside a Field Class in Filament v3 from JS
multiple resources based on same model
->modifyQueryUsing()
and apply differently per resource https://filamentphp.com/docs/3.x/panels/resources/listing-records#customizing-the-table-eloquent-querySpatie Media File Upload Issue
edit page