This is a Filament Infolists Component, use for display RepetableEntry as a table. In case you are using TableRepeater instead of RelationManager.
You can install the package via composer:
composer require icetalker/filament-table-repeatable-entry
namespace Icetalker\FilamentTableRepeater\Forms\Components;Â TableRepeatableEntry::make('items') ->schema([ Infolists\Components\TextEntry::make('product'), Infolists\Components\TextEntry::make('quantity'), Infolists\Components\TextEntry::make('price'), ]) ->columnSpan(2),
To enable striped table rows, you can use the striped()
method:
namespace Icetalker\FilamentTableRepeater\Forms\Components;Â TableRepeatableEntry::make('items') ->schema([ Infolists\Components\TextEntry::make('product'), Infolists\Components\TextEntry::make('quantity'), Infolists\Components\TextEntry::make('price'), ]) ->striped() ->columnSpan(2),
To show table row index, please use showIncdex()
:
namespace Icetalker\FilamentTableRepeater\Forms\Components;Â TableRepeatableEntry::make('items') ->schema([ Infolists\Components\TextEntry::make('product'), Infolists\Components\TextEntry::make('quantity'), Infolists\Components\TextEntry::make('price'), ]) ->striped() ->columnSpan(2),
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.