zenepay
zenepay
FFilament
Created by carlos-hub on 6/18/2024 in #❓┊help
Root composer.json requires filament/filament 3.2.1.4
delete composer.lock, run composer update and re-install the filament. you may need to alter some plugin in the vendor folder. They could require conflict dependencies. Consider to install those conflict after Filament.
7 replies
FFilament
Created by zenepay on 5/20/2024 in #❓┊help
I try to seed using has function for relationship but does not create child record.
In fact, I just want to be easy for searching. User will search on this child property_services, with house_no. If I don't pass this in db, I have to search across table, I think it will be slower.
7 replies
FFilament
Created by zenepay on 5/20/2024 in #❓┊help
I try to seed using has function for relationship but does not create child record.
I follow idea from this https://laravel.com/docs/11.x/eloquent-factories $user = User::factory() ->has( Post::factory() ->count(3) ->state(function (array $attributes, User $user) { return ['user_type' => $user->type]; }) ) ->create();
7 replies
FFilament
Created by Maru on 6/9/2024 in #❓┊help
Dashboard responsive columns not working as I expected
You may have to rewrite the widget view:
@php $columns = $this->getColumns(); @endphp <x-filament-widgets::widget class="fi-wi-stats-overview"> <div @if ($pollingInterval = $this->getPollingInterval()) wire:poll.{{ $pollingInterval }} @endif @class([ 'fi-wi-stats-overview-stats-ctn grid gap-6 grid-cols-2', 'md:grid-cols-1' => $columns === 1, 'md:grid-cols-2' => $columns === 2, 'md:grid-cols-3' => $columns === 3, 'md:grid-cols-4' => $columns === 4, 'md:grid-cols-5 xl:grid-cols-5' => $columns === 5, ])> @foreach ($this->getCachedStats() as $stat) {{ $stat }} @endforeach </div> </x-filament-widgets::widget>
3 replies
FFilament
Created by Adnan Yalahow on 6/9/2024 in #❓┊help
Form Action appearance
No description
3 replies
FFilament
Created by morawcik on 6/9/2024 in #❓┊help
2 levels of tenancy (nested tenancy)
In fact, what you said is one tenancy. If you use Jetstream team, it will help you initial this easier. A user belongs to Teams, and team has many users.
4 replies
FFilament
Created by zenepay on 5/28/2024 in #❓┊help
Livewire modal does not pop to top layer
No description
5 replies
FFilament
Created by zenepay on 5/28/2024 in #❓┊help
Livewire modal does not pop to top layer
No description
5 replies
FFilament
Created by zenepay on 6/7/2024 in #❓┊help
Form does not display filled data.
Thank you for this. In fact, I can set default value to the form as well, it works that way. But I wonder that why if I have uploadFile field in the form, it just works using current method. I would like to understand how to life cycle work and hook to anyways, so, Filament will not have any limitation on developing for any projects.
7 replies
FFilament
Created by zenepay on 6/7/2024 in #❓┊help
Form does not display filled data.
Sometimes, we want the owner record information to save in to a relation form, or just to view for user friendly purpose.
7 replies
FFilament
Created by kakallatt on 3/31/2024 in #❓┊help
Multi tenancy with multiple database support
This's gonna be nice one, with complicated work.
40 replies
FFilament
Created by Nicole on 5/27/2024 in #❓┊help
Aside from Edit, Delete, and View actions, how can I create a new action button with custom page?
5 replies
FFilament
Created by zenepay on 5/22/2024 in #❓┊help
Is there anyway to reload RelationManager Owner page with Spa mode?
I got it now.
7 replies
FFilament
Created by zenepay on 5/22/2024 in #❓┊help
Is there anyway to reload RelationManager Owner page with Spa mode?
Hi Leandro. Do I have to create a custom view for parrent page in order to put javascript to listen to the dispatch event?
7 replies
FFilament
Created by zenepay on 5/20/2024 in #❓┊help
How modify rule for unique() when it must be unique if another field eg group are the same?
->unique(ignoreRecord: true, modifyRuleUsing: fn ($rule, Get $get) => $rule->where('property_type_id', $get('property_type_id'))),
4 replies
FFilament
Created by zenepay on 5/20/2024 in #❓┊help
Form does not revalidate after change value
remove this modified function it works. protected function getCreateFormAction(): Action { return Action::make('create') ->label(__('filament-panels::resources/pages/create-record.form.actions.create.label')) ->submit('create') ->keyBindings(['mod+s']); }
5 replies
FFilament
Created by zenepay on 5/20/2024 in #❓┊help
Form does not revalidate after change value
5 replies
FFilament
Created by David Vincent on 4/29/2024 in #❓┊help
DeleteBulkAction and ForceDeleteBulkAction policies
I totally agree. DeleteBulkAction still allow to users even we unable them in Policy to not allow delete and not allow deleteAny. It does not make sense to custom set here. This should be added to next version. Also fo view, I cannot view the record, if I don't also enable set viewAny. That means I cannot directly open a page if I don't set view any for that user. I think view a record should not need to view any.
26 replies
FFilament
Created by Ricardo Sawir on 5/18/2024 in #❓┊help
datetimePicker sometimes change hours byiteself
I 've never found this issue. You may need to provide more info on coding.
3 replies
FFilament
Created by CappaS on 5/15/2024 in #❓┊help
Datetimepicker am/pm feature
Yes, now done, ready to use, if you want.
10 replies