tim.lalev
tim.lalev
FFilament
Created by Steve_OH on 7/26/2024 in #❓┊help
Incorporating an infolist inside of an edit view modal?
Yeah custom livewire components are really great solution to so many usecases.
11 replies
FFilament
Created by Steve_OH on 7/26/2024 in #❓┊help
Incorporating an infolist inside of an edit view modal?
11 replies
FFilament
Created by Steve_OH on 7/26/2024 in #❓┊help
Incorporating an infolist inside of an edit view modal?
You can toggle visibility for that form based on event or just add a comment toggle button so that it will not be necessary to open yet another modal to interact with the comments
11 replies
FFilament
Created by Steve_OH on 7/26/2024 in #❓┊help
Incorporating an infolist inside of an edit view modal?
You can make a livewire component with a custom form for the comments repeater.
11 replies
FFilament
Created by Renan Pereira on 7/9/2024 in #❓┊help
EditAction enabling hidden CreateAction in headerActions
Welcome
20 replies
FFilament
Created by Renan Pereira on 7/9/2024 in #❓┊help
EditAction enabling hidden CreateAction in headerActions
Cool
20 replies
FFilament
Created by Renan Pereira on 7/9/2024 in #❓┊help
EditAction enabling hidden CreateAction in headerActions
Why dont you reverse the logic and hide it by default. Have a condition to make it visible
20 replies
FFilament
Created by Renan Pereira on 7/9/2024 in #❓┊help
EditAction enabling hidden CreateAction in headerActions
Yes it's possible because the livewire endpoint is different.
20 replies
FFilament
Created by Renan Pereira on 7/9/2024 in #❓┊help
EditAction enabling hidden CreateAction in headerActions
Then it's possible for the Auth::user() to give you null for the subsequent request that is happening and that is why it never reaches the condition
20 replies
FFilament
Created by Renan Pereira on 7/9/2024 in #❓┊help
EditAction enabling hidden CreateAction in headerActions
Any js errors in console? May be livewire key mismatch
20 replies
FFilament
Created by Renan Pereira on 7/9/2024 in #❓┊help
EditAction enabling hidden CreateAction in headerActions
Something weird is happening that re renders the the button
20 replies
FFilament
Created by Renan Pereira on 7/9/2024 in #❓┊help
EditAction enabling hidden CreateAction in headerActions
That auth stuff belongs better in a policy and will probably solve that issue.
20 replies
FFilament
Created by Renan Pereira on 7/9/2024 in #❓┊help
EditAction enabling hidden CreateAction in headerActions
How are you hiding the create action?
20 replies
FFilament
Created by Pekempy on 7/6/2024 in #❓┊help
Collapse table groups by default
Here is another thread where I explain how to do it : https://discord.com/channels/883083792112300104/1258709391411118172
3 replies
FFilament
Created by Pekempy on 7/6/2024 in #❓┊help
Collapse table groups by default
Hi not possible unfortunately but I managed to get a workaround
3 replies
FFilament
Created by Dima on 7/7/2024 in #❓┊help
How to show only a single icon or boolean on an array column in table view
Notice I intentionally used different column like 'created_at' otherwise if you use 'attachments' it will still render an icon for each count
6 replies
FFilament
Created by Dima on 7/7/2024 in #❓┊help
How to show only a single icon or boolean on an array column in table view
Tables\Columns\IconColumn::make('created_at')
->label('Has Attachments')
->icon(function ( $record) {
return $record->attachments->count() ? 'heroicon-s-photo' : null;
}),
Tables\Columns\IconColumn::make('created_at')
->label('Has Attachments')
->icon(function ( $record) {
return $record->attachments->count() ? 'heroicon-s-photo' : null;
}),
6 replies
FFilament
Created by Dima on 7/7/2024 in #❓┊help
How to show only a single icon or boolean on an array column in table view
Hey Dima, yeah I had weird issues like that too. It's possible to use workarounds :
6 replies
FFilament
Created by Vazaios on 7/7/2024 in #❓┊help
Is it not possible to have 2 forms inside a resource form?
Something like that in both livewire components
8 replies
FFilament
Created by Vazaios on 7/7/2024 in #❓┊help
Is it not possible to have 2 forms inside a resource form?
key($getRecord()->id.'-'.Str::uuid())
key($getRecord()->id.'-'.Str::uuid())
8 replies