Forms / Can i use a form checkbox to show or hide other form components?
Hi people, i have a quick question. I am using filament forms to build a form. Now i have a checkbox. But i want to show other forms components if the checkbox is checked. Is there a way to do this?
7 Replies
Yes, not sure if you're on v2 or v3 but the logic is the same. https://filamentphp.com/docs/2.x/forms/advanced#dependant-fields--components
Thank you for your answer, i will try it out and let it know. I appreciate it
I watched the video and read the documentation. I wonder why this doesnt work, i thought it would
the checkbox is on top. And in the asset_id i want to disable it based on state of checkbox
am i using wrong vars?
Solution
Thank you it works perfect !!
Please create your own post.