Table action modal freezes and searchable does not work

public static function table(Table $table): Table { return $table ->heading("Evènements") ->description("Liste des évènements") ->columns([ Stack::make([ Tables\Columns\TextColumn::make('title') ->searchable() ->weight(FontWeight::Black) ->size("md") ->limit(20), Tables\Columns\TextColumn::make('project.name') ->weight(FontWeight::Medium), Tables\Columns\TextColumn::make('starts_at') ->dateTime('d-m-Y H:i:s'), Tables\Columns\TextColumn::make('ends_at') ->dateTime('d-m-Y H:i:s'), ]), ]) ->contentGrid([ 'md' => 2, 'xl' => 3, ]) ->actions([ Tables\Actions\ViewAction::make() ->label("voir"), Tables\Actions\EditAction::make() ->label(""), Tables\Actions\DeleteAction::make() ->label(""), ]) ->recordClasses( fn(Model $record) => match ($record->type) { 'rendez-vous' => 'bg-green-200 hover:bg-green-300', 'visite de chantier' => 'bg-blue-200 hover:bg-blue-300', 'autre' => 'bg-purple-200 hover:bg-purple-300', default => null, } ); }
1 Reply
CodeWithDennis
CodeWithDennis3mo ago
#✅┊rules
Want results from more Discord servers?
Add your server