Strategic
Strategic
FFilament
Created by Strategic on 11/16/2023 in #❓┊help
Is it possible to hide edit/delete buttons from table on mobile only lets say only cellphones ?
hmm.. ok .. thanks
4 replies
FFilament
Created by Miguel García on 10/11/2023 in #❓┊help
'Create' - 'Create & create another' validation
i see.. thank you .. well if it only would be possible to control the message some how for consistency..
13 replies
FFilament
Created by Miguel García on 10/11/2023 in #❓┊help
'Create' - 'Create & create another' validation
Wow .. ok .. thank you for taking the time to help...so basically i need to create my own /vendor/filament/filament/resources/views/resources/pages/create-record.blade.php for every resource ? or is there easier way?
13 replies
FFilament
Created by Miguel García on 10/11/2023 in #❓┊help
'Create' - 'Create & create another' validation
Hey @Naren can you please share how did you manage to do it via ->extraAttributes(['novalidate']) ? Thank you so much for your time and help!!
13 replies
FFilament
Created by Strategic on 10/10/2023 in #❓┊help
How to modify delete action notification message
Found how to : Tables\Actions\DeleteAction::make() ->modalHeading(fn ($record) =>'Do you want to delete '.$record->your_column_name)
3 replies
FFilament
Created by Tritus on 10/10/2023 in #❓┊help
Change text for buttons "Create" and remove "Create and create another"
yes on the create resource page add this line
class CreateYourResourceName extends CreateRecord { protected static bool $canCreateAnother = false; }
13 replies
FFilament
Created by Tritus on 10/10/2023 in #❓┊help
Change text for buttons "Create" and remove "Create and create another"
Yes .. sorry i am tired.. its for labels it will not remove button ..
13 replies
FFilament
Created by Tritus on 10/10/2023 in #❓┊help
Change text for buttons "Create" and remove "Create and create another"
No wories
13 replies
FFilament
Created by Tritus on 10/10/2023 in #❓┊help
Change text for buttons "Create" and remove "Create and create another"
when you publish configuration you can change this file e /lang/vendor/filament-panels/en/resources/pages/create-record.php 'form' => [ 'actions' => [ 'cancel' => [ 'label' => 'Cancel', ], 'create' => [ 'label' => 'Save', ], /* remove this 'create_another' => [ 'label' => 'Save & add another', ],*/ ], ],
13 replies
FFilament
Created by Tritus on 10/10/2023 in #❓┊help
Change text for buttons "Create" and remove "Create and create another"
you need to publish translations : php artisan vendor:publish --tag=filament-panels-translations and go to /lang/vendor/filament-panels/en/resources/pages/create-record.php
13 replies
FFilament
Created by Strategic on 9/27/2023 in #❓┊help
Tables\Actions\DeleteAction::make() before or after method How to access record value inside?
Thank you! Thank you! you are beautiful soul!
5 replies
FFilament
Created by Javier Mercedes on 4/5/2023 in #❓┊help
Trying to use the before method on the DeleteAction button
Hi Kirito can you please advise share how did you use $action->getModel() inside before method? on the table to get the record (even based on your example) . thank you
14 replies