BKF Dev
BKF Dev
FFilament
Created by BKF Dev on 11/5/2024 in #❓┊help
Hide Input Form inside Repeater based on condition
Hello, I want to hide a select input if the line record exist, (Order has many items), I'm trying this code : Repeater::make('lines') ->relationship() ->schema([ ... Forms\Components\Select::make('product_id') ->relationship('product', 'name') ->visible(fn(?Model $record) => !$record) ... But I get this error :
Typed property Filament\Forms\Components\Component::$container must not be accessed before initialization
Is there a way to manage this ? thanks
5 replies
FFilament
Created by BKF Dev on 10/15/2024 in #❓┊help
Call Resource Save Changes Button
Hello, How could I call the Save Changes button action from another action button ? Thanks 🙂
5 replies
FFilament
Created by BKF Dev on 10/12/2024 in #❓┊help
Custom FileUpload action
Hello everyone, I have a RelationManager form which has a FileUpload input, I want to get file information same as in liverwire, so how can I do that ? public function form(Form $form): Form { return $form ->schema([ FileUpload::make('file') ->label(__('File')) ->columnSpanFull() ->required(), TextInput::make('title') ->label(__('Title')) ->columnSpanFull(), Textarea::make('description') ->label(__('Descritption')) ->columnSpanFull(), ]); } ..... Tables\Actions\CreateAction::make() ->slideOver() ->action(function ($data) { // how to access to file name, ext, .... dd($data['file']); }),
4 replies
FFilament
Created by BKF Dev on 9/29/2024 in #❓┊help
hasCombinedRelationManagerTabsWithContent bug
I think there's a bug when using this method : public function hasCombinedRelationManagerTabsWithContent(): bool { return true; } Error : Uncaught Component not found: kAjilF4w0pFUtHnU1pR1
11 replies
FFilament
Created by BKF Dev on 9/3/2024 in #❓┊help
Repeater deleteAction
How could we hide remove button based on a condition related to the according line ? Thanks 🙂
3 replies
FFilament
Created by BKF Dev on 8/20/2024 in #❓┊help
Bug in v3.2.105
No description
28 replies
FFilament
Created by BKF Dev on 8/15/2024 in #❓┊help
Repeater : Grouping items
Hello guys, Is there a way to hack repeater in order to set groups titles ? let's say we have items table belongs to item_categories table, I want to set the group name as title separator Thanks 🙂
2 replies
FFilament
Created by BKF Dev on 6/14/2024 in #❓┊help
Table recordClasses dark mode
Hello, This piece of code works fine in default mode, but in dark no change (text-color, bg) ! ->recordClasses(fn (Model $record) => match ($record->status) { QuotationStatusEnum::DRAFT => '!opacity-30', QuotationStatusEnum::CONFIRMED => '!border-l-4 !border-l-green-600 bg-green-50 dark:text-gray-900 dark:bg-green-30', QuotationStatusEnum::CANCELLED => '!border-l-4 !border-orange-600 bg-orange-50 dark:text-gray-900 dark:border-orange-300', default => null, })
36 replies
FFilament
Created by BKF Dev on 6/7/2024 in #❓┊help
Logout from all devices
How can I apply it when the user logout ?
4 replies
FFilament
Created by BKF Dev on 5/30/2024 in #❓┊help
Action modalWidth issue ?
Setting modalWidth to an action placed in getHeaderActions array doesn't work ?!
4 replies
FFilament
Created by BKF Dev on 3/5/2024 in #❓┊help
Can we go back to home page by clicking on logo
No description
6 replies
FFilament
Created by BKF Dev on 2/20/2024 in #❓┊help
heroicons issue
I got this issue after adding a viewRecord to an existing resource ! Svg by name "s-archive-box-x-mark " from set "heroicons" not found. https://flareapp.io/share/x7XaNYO5
8 replies
FFilament
Created by BKF Dev on 1/7/2024 in #❓┊help
Stancl package,
Is there anyone has managed filament 3 with stancl v3 ? I'm facing an issue regarding curator package, I'm able to insert files, but cannot display it wethere in table or input form. thanks
2 replies
FFilament
Created by BKF Dev on 12/26/2023 in #❓┊help
Table Sub-Rows
Hello, Let's say we have order hasMany items, Is there a way to display orders table with sub-rows of items for each order row ? Thanks
4 replies
FFilament
Created by BKF Dev on 12/10/2023 in #❓┊help
RelationManager translation for BelongsToMany relationship
Let's say I have belongsToMany relationship with pivot fields having translatable option, Is there a way to manage the translation the same as Create / Edit resource ? (I'm using filament spaties translation Thanks
8 replies
FFilament
Created by BKF Dev on 9/10/2023 in #❓┊help
Put Relation manager table into wizard step
Hi, Is there a way to set a relation manager table (or even a resource table) into one step of wizard ? thanks 🙂
2 replies
FFilament
Created by BKF Dev on 8/18/2023 in #❓┊help
ImageEntry url
How can I set the record image url ? I'm using spatie media
1 replies
FFilament
Created by BKF Dev on 8/18/2023 in #❓┊help
Wizard submit button
Hi, how can I show the submit button only on the last step ?
21 replies
FFilament
Created by BKF Dev on 8/8/2023 in #❓┊help
I've set a custom register page for a panel x, I used wizard, how can I increase the form width ?
17 replies
FFilament
Created by BKF Dev on 8/5/2023 in #❓┊help
Access to panel
Hi, How can I set a condition (based on user role for example) to deny users to access to a specific panel? thanks 🙂 without using a middleware
28 replies