© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
2 replies
SirAlyon

CheckboxList Issue on Custom Livewire page

Hi everyone, I'm having an issue using a CheckboxList on a custom Livewire component. I've only imported the Filament forms as I don't need the entire interface. I'm building a wizard with several steps and some inputs/checkboxes within. Here is the example code:
class AstiWizardComponent extends Component implements HasForms, HasActions
{
    use InteractsWithActions;

    use InteractsWithForms;

    public ?array $data = [];
    public $importoMultilinea;
    //public $allocazione; <---- IT CAUSE ERROR :(
class AstiWizardComponent extends Component implements HasForms, HasActions
{
    use InteractsWithActions;

    use InteractsWithForms;

    public ?array $data = [];
    public $importoMultilinea;
    //public $allocazione; <---- IT CAUSE ERROR :(


CheckboxList::make('allocazione')
                            ->options([
                                'obbligazionaria' => 'Obbligazionaria',
                                'prudente' => 'Prudente',
                                'moderata' => 'Moderata',
                                'azionaria' => 'Azionaria',
                                'libera' => 'Linera',
                            ])
                            ->reactive()
                            ->columns(5)
CheckboxList::make('allocazione')
                            ->options([
                                'obbligazionaria' => 'Obbligazionaria',
                                'prudente' => 'Prudente',
                                'moderata' => 'Moderata',
                                'azionaria' => 'Azionaria',
                                'libera' => 'Linera',
                            ])
                            ->reactive()
                            ->columns(5)


I have mainly two problems:

When using the "public $allocazione" variable in the Livewire component, clicking on a single checkbox marks all of them as active. However, if I don't use this variable, the individual checkbox works correctly, but when I click "next" to go to the next step, I receive the error: "No property found for validation: [allocazione]".
Could you please help me understand what I am doing wrong? Thank you!
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Custom page CheckboxList
FilamentFFilament / ❓┊help
2y ago
Livewire custom page
FilamentFFilament / ❓┊help
3y ago
Livewire / Custom Page issue / skipRender not functioning?
FilamentFFilament / ❓┊help
14mo ago
Custom Page without Livewire
FilamentFFilament / ❓┊help
3y ago