Ali Abbas
Ali Abbas
FFilament
Created by Ali Abbas on 1/4/2024 in #❓┊help
I have a OrderResource i want to have different forms for each create and edit order page?
how can i have this functionailty in orderResource i have this function like public static function form(Form $form): Form { return $form->schema((new Pages\CreateOrder())->createForm()); } this is working fine i want to change for edit but it is using this form for both craete and edit pages for edit i want like
public static function form(Form $form): Form { return $form->schema((new Pages\CreateOrder())->createForm()); if(editpage){ return $form->schema((new Pages\EditOrder())->editForm()); } } i want like this
9 replies
FFilament
Created by Ali Abbas on 11/14/2023 in #❓┊help
How to conditionally set a field as non-required based on the value of another field?
I have a checkbox ('location_type'), and I want to remove the 'required' constraint from a subsequent field ('name') if the checkbox is checked, utilizing the reactive() method. The relevant code snippet is as follows: Checkbox::make('location_type')->inline()->reactive(), TextInput::make('name') ->required() ->maxLength(191) ->columnSpan(1),
4 replies
FFilament
Created by Ali Abbas on 9/25/2023 in #❓┊help
how to make a link field when user click on this it will redirect to the link?
No description
14 replies
FFilament
Created by Ali Abbas on 9/14/2023 in #❓┊help
How to enable or disable fields based on select in edit page ?
No description
10 replies
FFilament
Created by Ali Abbas on 9/6/2023 in #❓┊help
how can we remove white space auto when we copy paste words in search bar?
Hi i want to remove white space automatically as its causing problems while searching and copy pasting
12 replies
FFilament
Created by Ali Abbas on 9/6/2023 in #❓┊help
I have a ViewColumn in getTables and i have 3 columns inside this view how can i make it searchable
i am using like this is not working ViewColumn::make('product_id') ->label('Product ID') ->sortable() ->searchable(query: function (Builder $query, string $search): Builder { return $query ->where('asin', 'like', "%{$search}%") ->where('upc', 'like', "%{$search}%") ->where('fnsku', 'like', "%{$search}%"); }) ->view('filament.tables.columns.product.product_id'),
8 replies
FFilament
Created by Ali Abbas on 5/4/2023 in #❓┊help
Is there is a way to add loader or spinner in reactive fields ?
i am using reactive function for fields to visible on specific state value when i select the values using ->visible() to show hide input. fields it take little bit time to show fields i want to add the loader or spinner so the user understand easily ?
8 replies
FFilament
Created by Ali Abbas on 4/26/2023 in #❓┊help
how to add Select Field data using reactive() in the Text fields just like Dependent fields
11 replies
FFilament
Created by Ali Abbas on 4/17/2023 in #❓┊help
how to use RelationManager inside the create and edit form of the Resource
Now its is showing at the bottom of the edit i want it inside both create and edit forms
11 replies
FFilament
Created by Ali Abbas on 4/14/2023 in #❓┊help
Error "Route not defined" on newly create resource
15 replies
FFilament
Created by Ali Abbas on 4/13/2023 in #❓┊help
how to use ->wrap() in ViewColumn
13 replies