Strategic
'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
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
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