© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•12mo ago•
2 replies
Will Aguilar

Build repeater schema from action

How can I build / add / create a repeater schema when the user clicks an action?

Actions::make([
  Action::make('generate_variations')
    ->label('Generate Variations')
    ->action(function (Get $get, Set $set, $action) {
        $this->variationsSchema = $this->generateVariations();
        // add the generated code to the repeater field
    }),
])->columnSpanFull(),
 Repeater::make('variations')
  ->columnSpanFull()
  ->collapsible()
  ->schema([]
Actions::make([
  Action::make('generate_variations')
    ->label('Generate Variations')
    ->action(function (Get $get, Set $set, $action) {
        $this->variationsSchema = $this->generateVariations();
        // add the generated code to the repeater field
    }),
])->columnSpanFull(),
 Repeater::make('variations')
  ->columnSpanFull()
  ->collapsible()
  ->schema([]


Trying to replicate WooCoomerce
Generate Variations
Generate Variations
functionality. The user clicks on
Generate Variations
Generate Variations
button and I need to add all variations to my
Repeater
Repeater
Screenshot_2025-03-02_at_6.15.56_PM.png
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

Setting repeater values from action
FilamentFFilament / ❓┊help
2y ago
Mutate Repeater Data from Action
FilamentFFilament / ❓┊help
3y ago
repeater action
FilamentFFilament / ❓┊help
4mo ago
Set Repeater Data from Action Form
FilamentFFilament / ❓┊help
2y ago