© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago
Justin

Livewire table / form with relation

I'm trying to make a create / edit form for SizeGroups which will also allow me to attach / create + attach / detach sizes (like in the last pic).

I had it working fine enough in the picture without filament, but I recently heard about it and wanted to recreate most of my project with it.

This is what I have now in editing form:
            ->actions([
                Tables\Actions\EditAction::make()->form([
                    TextInput::make('name')
                        ->required()
                        ->maxLength(32),
                ]),
                Tables\Actions\DeleteAction::make(),
                Tables\Actions\RestoreAction::make(),
            ])
            ->actions([
                Tables\Actions\EditAction::make()->form([
                    TextInput::make('name')
                        ->required()
                        ->maxLength(32),
                ]),
                Tables\Actions\DeleteAction::make(),
                Tables\Actions\RestoreAction::make(),
            ])


So basically I want to display the current sizes that are in the group and be able to attach / detach them from here

And yes I'm aware it might be so much easier to use the admin panel, but I'm not allowed to use it during my exam at school, but we're allowed to create components we can use in our own existing views.
Screenshot_from_2024-04-12_20-55-10.png
Screenshot_from_2024-04-12_20-56-07.png
Screenshot_from_2024-04-12_21-01-35.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

livewire with table inside form: now the form is not saving
FilamentFFilament / ❓┊help
16mo ago
Form with table
FilamentFFilament / ❓┊help
3y ago
Using Step Form with Livewire
FilamentFFilament / ❓┊help
2y ago
Livewire Starter Kit with Filament form and table builder package
FilamentFFilament / ❓┊help
11mo ago