If true is selected in the radio button, can I hide or show the input?

For example, if TextInput is selected as true in the radio button, I want it to be shown, if false is selected, I want it to be hidden. I wonder if this is possible?
1 Reply
ConnorHowell
ConnorHowell4mo ago
Yes, here's a handy example from the docs using a checkbox to toggle if a text input is visible https://filamentphp.com/docs/3.x/forms/advanced#conditionally-hiding-a-field