© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
28 replies
bahamagician

How to use fillForm() with a repeater?

Hey, I'm trying to set up some tests for my application but how do I use fillForm with a repeater?

livewire(DeliveryResource\Pages\CreateDelivery::class)
    ->fillForm([
      'products' => [
        'description' => 'Test',
        'qty' => 1
      ],
    ])
    ->call('create')
    ->assertHasNoFormErrors();
livewire(DeliveryResource\Pages\CreateDelivery::class)
    ->fillForm([
      'products' => [
        'description' => 'Test',
        'qty' => 1
      ],
    ])
    ->call('create')
    ->assertHasNoFormErrors();


This doesn't seem to work.
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

repeater - anonymous action - fillForm
FilamentFFilament / ❓┊help
3y ago
Action `fillForm` not working inside Repeater
FilamentFFilament / ❓┊help
6mo ago
testing repeater / fillForm / fill default item
FilamentFFilament / ❓┊help
2y ago
how to use set in a repeater
FilamentFFilament / ❓┊help
2y ago