© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
2y ago
•
3 replies
TNDJXD
How to collapse section on button click
I have a livewire component that is rendering the form I want that when form is submited I collapse section I tried by passing reactive property to form livewire component but it only works on second click even though the prop got updated
.
Form component PHP
https://gist.github.com/TNDJX/c5b730ccec35b98e02f13b8432ca1e64
From component HTML
https://gist.github.com/TNDJX/275a1d39917508775a0cfa437c2f7f93
The component holding the form
PHP
https://gist.github.com/TNDJX/7fc1df22ea4d2836c5c78d2597e29a65
HTML
https://gist.github.com/TNDJX/5cf6cf85b428e6ca1521e193104fcebf
In the video you can see that it should be collapsed but form is not getting updated
.
Gist
gist:c5b730ccec35b98e02f13b8432ca1e64
GitHub Gist
: instantly share code
, notes
, and snippets
.
Gist
gist:275a1d39917508775a0cfa437c2f7f93
GitHub Gist
: instantly share code
, notes
, and snippets
.
Gist
gist:7fc1df22ea4d2836c5c78d2597e29a65
GitHub Gist
: instantly share code
, notes
, and snippets
.
Gist
gist:5cf6cf85b428e6ca1521e193104fcebf
GitHub Gist
: instantly share code
, notes
, and snippets
.
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Was this page helpful?
Yes
No
Similar Threads
Recent Announcements
Similar Threads
Section Collapse
F
Filament / ❓┊help
3y ago
collapse form section on submit
F
Filament / ❓┊help
2y ago
Collapse section on 'sm' viewport
F
Filament / ❓┊help
3y ago
Remember section collapse position
F
Filament / ❓┊help
3y ago