Skip to content
Discussion options

You must be logged in to vote

Create a custom class in your app

//app/Filament/Forms/Components/CheckboxList.php
namespace App\Filament\Forms\Components;

use Filament\Forms\Components\CheckboxList as BaseCheckboxList;

class CheckboxList extends BaseCheckboxList
{
    protected string $view = 'filament.forms.components.checkbox-list';
}

Create a custom view in resources/views/filament/forms/components/checkbox-list.blade.php

Copy the original content from the vendor and edit what you want.

Use in your form

\App\Filament\Forms\CheckboxList::make('field')

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jcgmalave
Comment options

Answer selected by juangdnar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants