PHP code example of icetalker / filament-table-repeatable-entry
1. Go to this page and download the library: Download icetalker/filament-table-repeatable-entry library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
icetalker / filament-table-repeatable-entry example snippets
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),
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),
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),