Vulture
Vulture
FFilament
Created by Vulture on 8/9/2023 in #❓┊help
How to hide TableWidget if getTableQuery has no data
Hello, i use HeaderWidgets on Resource Edit Page, i need to hide TableWidget when no data, how to make it ? // EventResource/EditEvent.php
protected function getHeaderWidgets(): array
{
return [
ProcessOverview::class
];
}
protected function getHeaderWidgets(): array
{
return [
ProcessOverview::class
];
}
// GetTableQuery from ProcessOverview TableWidget.
protected function getTableQuery(): Builder
{
return Process::query()->where('event_id', $this->record->id)
->with(['event', 'admin'])
->where('status',ProcessStatusEnum::STARTED->value)
->orderBy('created_at','DESC')
->latest();
}
protected function getTableQuery(): Builder
{
return Process::query()->where('event_id', $this->record->id)
->with(['event', 'admin'])
->where('status',ProcessStatusEnum::STARTED->value)
->orderBy('created_at','DESC')
->latest();
}
2 replies
FFilament
Created by Vulture on 8/1/2023 in #❓┊help
How to disable Livewire Auto upload to temp folder ?
Hello, i want to make manual "Upload" button with livewire, but livewire model is starting direct upload after selecting files i try prevent but not work : wire:submit.prevent="submit" wire:model="pool_zip" Code :
<input id="file_input" wire:submit.prevent="submit" wire:model.defer="pool_zip" wire:model="pool_zip" name="file_input[]" type="file" class="custom-input-file" accept=".jpg,.png" multiple data-multiple-caption="{count} files selected">
<input id="file_input" wire:submit.prevent="submit" wire:model.defer="pool_zip" wire:model="pool_zip" name="file_input[]" type="file" class="custom-input-file" accept=".jpg,.png" multiple data-multiple-caption="{count} files selected">
2 replies
FFilament
Created by Vulture on 4/6/2023 in #❓┊help
Possible to use Table Widget in getFormSchema method ?
11 replies
FFilament
Created by Vulture on 3/31/2023 in #❓┊help
Ambiguous "id" column on Edit Page
5 replies
FFilament
Created by Vulture on 3/17/2023 in #❓┊help
Seperated Table/Model Auth is possible for Filament Panel ?
i want make "Users" and "Admins" auth system, these two independent models to access the filament panel is it possible ?
4 replies
FFilament
Created by Vulture on 3/15/2023 in #❓┊help
mount() is not working on Field component
22 replies
FFilament
Created by Vulture on 3/9/2023 in #❓┊help
How to use Filament CSS on Custom View
4 replies
FFilament
Created by Vulture on 3/3/2023 in #❓┊help
Custom Page how to pass record and GET request data
8 replies
FFilament
Created by Vulture on 3/2/2023 in #❓┊help
Filament Upload Progressbar not working large size files
33 replies