jlove1672
jlove1672
FFilament
Created by omar abdou on 1/9/2025 in #❓┊help
Route query string values don't persist with pagination in Table
Good to hear happy to help 🙂 🙌
11 replies
FFilament
Created by omar abdou on 1/9/2025 in #❓┊help
Route query string values don't persist with pagination in Table
You need to place these in the ListBeneficiaryTransaction class. Sorry if i wasnt clear in the last message as you need a livewire component to manage your custom state
11 replies
FFilament
Created by omar abdou on 1/9/2025 in #❓┊help
Route query string values don't persist with pagination in Table
Also remember to import use Livewire\Attributes\Url;
11 replies
FFilament
Created by omar abdou on 1/9/2025 in #❓┊help
Route query string values don't persist with pagination in Table
If record is a custom query parameter you set on the get request to your BeneficiaryTransactionResource list page you can do this: One way you could achieve this is by making a ListBeneficiaryTransactionResource class (should have this file already as filament auto created them if you use the resource helper) Then inside that list class add a url property (livewire auto sets this based on the url query param: #[Url] public $record = ''; Then you can create a function inside the same class that modifies the table query for the resource like: protected function getTableQuery(): Builder { dd($this->record); return parent::getTableQuery() ->where('user_id', $this->record) }
11 replies
FFilament
Created by omar abdou on 1/9/2025 in #❓┊help
Route query string values don't persist with pagination in Table
Is this inside a resouece view page or a custom resource page? You should be able to do something like $this->getRecord()
11 replies
FFilament
Created by jlove1672 on 9/4/2024 in #❓┊help
How do i prevent an action modal from closing the modal on submit
perfect! 🙌
5 replies
FFilament
Created by jlove1672 on 5/2/2024 in #❓┊help
Do text inputs have a clear input option
Yeah type search did it for me thank you! 🙌
8 replies
FFilament
Created by jlove1672 on 4/18/2024 in #❓┊help
In a custom form column how can i access the index of the current record in the loop
Cheers!
4 replies
FFilament
Created by adnn on 4/8/2024 in #❓┊help
Infolist with pages?
so just link them to view page for your resource which will be info list page
4 replies
FFilament
Created by adnn on 4/8/2024 in #❓┊help
Infolist with pages?
You should be able to customise where you when clicking a table row like this: public function table(Table $table): Table { return $table ->recordUrl( fn (Model $record): string => route('posts.edit', ['record' => $record]), ); }
4 replies
FFilament
Created by maninscotland on 4/8/2024 in #❓┊help
Issue with button color theming on front-end (forms, etc)
You should just be able to use your defined tailwind colors for frontend work - thats what we do We define a set of brand colors inside tailwind.config.js - its separate to our backend which is built with filament-panels
16 replies
FFilament
Created by Rahul on 4/4/2024 in #❓┊help
Video Durations(Hours and Seconds)
Filament has a TimePicker form field
5 replies
FFilament
Created by Rahul on 4/4/2024 in #❓┊help
Video Durations(Hours and Seconds)
You should be able to store video duration with the TIME data_type
5 replies
FFilament
Created by Muxabble on 2/13/2024 in #❓┊help
Error with Builder Field
You can intercept the data before its saved by going into your CreatePages.php and adding this method protected function mutateFormDataBeforeCreate(array $data): array { dd($data) } This will help you see the format of content before its saved and allow you to modify it to suit your underlying db schema
8 replies
FFilament
Created by Muxabble on 2/13/2024 in #❓┊help
Error with Builder Field
What filament form field are you using for content?
8 replies
FFilament
Created by jlove1672 on 1/9/2024 in #❓┊help
Call modal from anywhere on filament admin panel
Thanks for getting back. Ive decided to just stick with my original method of registering my custom livewire modal component via hooks as theres a small bit of func required to happen inside the modal on the php end 👍
7 replies
FFilament
Created by Masea on 1/4/2024 in #❓┊help
Using filament forms outside filament, how can i configure primary colors?
you need to include const colors = require('tailwindcss/colors') at the top of that file to access colors
7 replies
FFilament
Created by Masea on 1/4/2024 in #❓┊help
Using filament forms outside filament, how can i configure primary colors?
You should be able to configure global colors in your tailwind.config.js file and use then throughout your livewire application
7 replies
FFilament
Created by Wim on 1/4/2024 in #❓┊help
Display two sections next to each other
let me know if thats want you needed, if not, try draw what what you mean 👍
6 replies
FFilament
Created by Wim on 1/4/2024 in #❓┊help
Display two sections next to each other
No description
6 replies