© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•10mo ago•
2 replies
lolmaheen

Tab closes as soon as the Modal Opens!

so i have to add a modal in a tab since the tab is too cluttered
i want to achieve two things:
1.open a modal without the tab closing
2.introduce a list in the current tab of the products attached


Tab::make('New')
->schema(function (Get $get, Set $set, $record) use ($form) {

);

return [

Actions::make([
Actions\Action::make('attach')
->modalHeading('Product')
->label('Attach Product)
->modalSubmitActionLabel('Save')
->modalWidth('4xl')
->form([
TextInput::make('title')->required(),
])
->action(function (Get $get, Set $set) {
$set('excerpt', str($get('content'))->words(45, end: ''));
}),
])->alignment('right'),

];

}),
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

Custom Modal form closes as soon as I click on it.
FilamentFFilament / ❓┊help
16mo ago
Modal Footer Action closes modal ,opens another modal then reset arguments
FilamentFFilament / ❓┊help
16mo ago
can we make tab as a modal change
FilamentFFilament / ❓┊help
3y ago
Forms hint opens a modal
FilamentFFilament / ❓┊help
2y ago