Skip to content
Discussion options

You must be logged in to vote

use Filament\Schemas\Components\Actions

try this

use Filament\Actions\Action;
use Filament\Forms\Components\Select;
use Filament\Infolists\Components\KeyValueEntry;
use Filament\Schemas\Components\Actions;
use Filament\Schemas\Components\Utilities\Get;
use Filament\Schemas\Components\Utilities\Set;
use Filament\Schemas\Schema;

public function form(Schema $schema): Schema
{
    return $schema->schema([
        Select::make('select1')
            ->default('option2')
            ->options([
                'option1' => 'Option 1',
                'option2' => 'Option 2',
                'option3' => 'Option 3',
            ]),
        Select::make('select2')
            ->options([
       …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@Estigy
Comment options

@leandrocfe
Comment options

Answer selected by Estigy
@Estigy
Comment options

@leandrocfe
Comment options

@Estigy
Comment options

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