lazydog
lazydog
Explore posts from servers
FFilament
Created by tjodalv on 8/31/2024 in #❓┊help
Problem with Import Action - Import job never completes
Have you resolved this one? I encounter this issue too. I have 21 rows and only 11rows were processed. No error or error log. In my log I just see the broadcast notification
9 replies
FFilament
Created by lazydog on 9/4/2024 in #❓┊help
Reactive Field does not persist data
number value (badge) will be changed and depends on number of rows from the database
4 replies
FFilament
Created by Jon Mason on 8/15/2024 in #❓┊help
Good course on testing?
This is not a course but for reference, please check lunarphp, they have a lot of testing.
5 replies
FFilament
Created by TranceCode on 8/15/2024 in #❓┊help
how can disable days of week?
Check this one, this code will disable Monday options by implementing
disableOptionWhen
disableOptionWhen
method
Forms\Components\Select::make('days')
->options(['mon' => 'Monday', 'tue' => 'Tuesday'])
->disableOptionWhen(function ($value) {
$toBeDisabled = ['mon'];
return in_array($value, $toBeDisabled);
}),
Forms\Components\Select::make('days')
->options(['mon' => 'Monday', 'tue' => 'Tuesday'])
->disableOptionWhen(function ($value) {
$toBeDisabled = ['mon'];
return in_array($value, $toBeDisabled);
}),
6 replies
FFilament
Created by DZUSILL on 8/13/2024 in #❓┊help
Redirect after custom action
Try something like this
$livewire->redirect(PaymentResouce::getUrl('view', ['record' => $recordRelatedForPayment]))
$livewire->redirect(PaymentResouce::getUrl('view', ['record' => $recordRelatedForPayment]))
16 replies
FFilament
Created by lazydog on 4/4/2024 in #❓┊help
Multiple Field in Custom Field
hi @Asmit Nepali I've extended KeyValue class and customized the view
23 replies
FFilament
Created by lazydog on 6/29/2024 in #❓┊help
Repeater with DatePicker
Just like disableOptionsWhenSelectedInSiblingRepeaterItems but in DatePicker Field
4 replies
FFilament
Created by lazydog on 6/27/2024 in #❓┊help
HintIcon
Thanks @Leandro Ferreira
12 replies
FFilament
Created by lazydog on 6/27/2024 in #❓┊help
HintIcon
12 replies
FFilament
Created by lazydog on 6/27/2024 in #❓┊help
HintIcon
No description
12 replies
FFilament
Created by lazydog on 6/27/2024 in #❓┊help
HintIcon
Yes
->hintIcon('heroicon-m-question-mark-circle',tooltip: new HtmlString('<ul>
<li>Hello</li>
<li>Hi</li>
<li>How are you</li>
</ul>'))
->hintIcon('heroicon-m-question-mark-circle',tooltip: new HtmlString('<ul>
<li>Hello</li>
<li>Hi</li>
<li>How are you</li>
</ul>'))
12 replies
FFilament
Created by lazydog on 6/27/2024 in #❓┊help
HintIcon
Thanks, that's okay but I need to hover first the icon to show the "messages"
12 replies
FFilament
Created by lazydog on 6/7/2024 in #❓┊help
Favicon
I've override the favicon in root folder and it's working.
4 replies
FFilament
Created by lazydog on 6/4/2024 in #❓┊help
Filament Tenancy
Yes you are correct but needs to set/update Tenant first using setTenant.
9 replies
FFilament
Created by lazydog on 6/4/2024 in #❓┊help
Filament Tenancy
There is no such method getCurrentTenant() using Filament version '^3.2'
9 replies
FFilament
Created by lazydog on 6/4/2024 in #❓┊help
Filament Tenancy
Undefined with Filament::getCurrentTenant(), what I've done, temporarily, I've created a helper function that sets current team using request()->tenant and find that tenant in my model via slug
9 replies
FFilament
Created by lazydog on 6/4/2024 in #❓┊help
Filament Tenancy
I've done this in testing, using Filament::setTenant but not yet done in actual switching
9 replies
FFilament
Created by lazydog on 6/3/2024 in #❓┊help
Password Reset Redirection
Thank you, I've managed to use that one. I've embedded html message from view.
5 replies
FFilament
Created by Expecto Patronum on 5/30/2024 in #❓┊help
MonthPicker exist?
Try this TextInput ::make('column_name') -> type('month')
9 replies
FFilament
Created by IWBW on 5/30/2024 in #❓┊help
Profile view and profile edit
In your filament service provider, please add ->profile()
13 replies