© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
4 replies
ico

Filament v2 Form Builder: How to add button in Repeater ?

How do i add a button in a repeater item ?

I have a Repeater with 4 TextInputs that represent some product data. I want to add a button next to them, so when the user clicks on it it will show more information about the fields, or will print out in a PDF format information about the product

Repeater::make('inputs')
    ->label('')
    ->schema([
        TextInput::make('scannedBarcode')
            ->disabled()
            ->columnSpanFull(),
    
        TextInput::make('plannedGoodCode')
            ->disabled(),
    
        TextInput::make('plannedGoodName')
            ->disabled(),
    
        TextInput::make('loadedQuantity')
            ->disabled(),

        // add button here

    ])
    ->disableItemMovement()
    ->disableItemCreation()
    ->columns(3)
Repeater::make('inputs')
    ->label('')
    ->schema([
        TextInput::make('scannedBarcode')
            ->disabled()
            ->columnSpanFull(),
    
        TextInput::make('plannedGoodCode')
            ->disabled(),
    
        TextInput::make('plannedGoodName')
            ->disabled(),
    
        TextInput::make('loadedQuantity')
            ->disabled(),

        // add button here

    ])
    ->disableItemMovement()
    ->disableItemCreation()
    ->columns(3)
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Filament v2 Form Builder Disable inner repeater
FilamentFFilament / ❓┊help
2y ago
How to test repeater value in filament form?
FilamentFFilament / ❓┊help
3y ago
Add submit button to filament form in custom page
FilamentFFilament / ❓┊help
2y ago
form builder MorphToSelect (v2)
FilamentFFilament / ❓┊help
2y ago