© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
37 replies
AncientFriend

hint action tests

hey i got a hint action setup on a simple Select that opens a Form inside a modal.

Select::make('chooseProfile')
->hintAction(
Action::make('createNewProfile')->label('newProfileAction')->form([
Grid::make()->schema([
TextInput::make('newProfile')
->required()
])
])
)

how do i call that nested action when testing the livewire component in order to write tests for the form displayed in the modal?
when i try using call action i get:

Failed asserting that an action with name [createNewProfile] exists on the [App\Livewire\ProfileForm] page.
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

Hint action disappear.
FilamentFFilament / ❓┊help
2y ago
Hint Action in V4
FilamentFFilament / ❓┊help
2mo ago
Hint Action - Copy value
FilamentFFilament / ❓┊help
2y ago
Help with action tests
FilamentFFilament / ❓┊help
2y ago