Eno7x
Eno7x
Explore posts from servers
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
Oh you are amazing. Finally the problem was fixed. You spent a lot of time on this. Thank you very much indeed 😊
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
https://github.com/engbz/demo Thank you very much
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
I tried everything you suggested again. But I still get the same result. I did as you said in the example below. When I show this on the new content creation page, the language selector does not show the result. I'm sharing the example if you want to check it out. Thank you very much for your time 😭
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
Actually, I do everything you say, but I can't get the result I want. Is there a chance you could share the source if you don't mind ?
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
Oh yes. If you want to take a look, it's here
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
No description
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
Thanks so much for your time. This package worked. Now the names appear, but when the language is changed with "Switcher" there is no change.
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
No description
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
Would you like me to share the entire package with you?
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
Yes
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
Yes, the room is attached.
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
{"en": "Test package name", "es": "Nombre del conjunto de pruebas"} Yes in json format
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
yep
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
I'm sorry about that. I will pay attention to this
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
Actually, when I use the "Spatie Translatable" Plugin, the "CheckboxList" names do not appear
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
class MarineVehicleResource extends Resource
{
use Translatable;

protected static ?string $model = MarineVehicle::class;

public static function form(Form $form): Form
{
return $form->schema([
CheckboxList::make('marineVehiclePackage')
->translateLabel()
->options(MarineVehiclePackage::where('isActive', true)->pluck('name', 'id'))
->columns(2)
->gridDirection('row')
->searchable(),
]);
}

}
class MarineVehicleResource extends Resource
{
use Translatable;

protected static ?string $model = MarineVehicle::class;

public static function form(Form $form): Form
{
return $form->schema([
CheckboxList::make('marineVehiclePackage')
->translateLabel()
->options(MarineVehiclePackage::where('isActive', true)->pluck('name', 'id'))
->columns(2)
->gridDirection('row')
->searchable(),
]);
}

}
33 replies
FFilament
Created by Eno7x on 9/23/2024 in #❓┊help
Spatie Translatable - Checkbox list
@toeknee 😳sorry for the tag
33 replies
FFilament
Created by Eno7x on 8/27/2024 in #❓┊help
Checkbox list
Thank you very much. :pepelove: :pepelove: :pepelove:
8 replies
FFilament
Created by Eno7x on 8/27/2024 in #❓┊help
Checkbox list
CheckboxList::make('marineVehiclePackage')
->hiddenLabel()
->options(MarineVehiclePackage::all()->pluck('name', 'id'))
->columns(5)
->gridDirection('row')
->descriptions(MarineVehiclePackage::all()->pluck('name', 'id'))
CheckboxList::make('marineVehiclePackage')
->hiddenLabel()
->options(MarineVehiclePackage::all()->pluck('name', 'id'))
->columns(5)
->gridDirection('row')
->descriptions(MarineVehiclePackage::all()->pluck('name', 'id'))
8 replies
FFilament
Created by Eno7x on 8/27/2024 in #❓┊help
Checkbox list
No description
8 replies