i need to pass a form component as parameter to another form component
I need the value of a select form component when a given input form component is not hidden, like this:
In the documentation: https://filamentphp.com/docs/3.x/forms/advanced#injecting-the-current-form-component-instance, i tried this:
but that gives me the current form component, what i need is the component of another form field, because i want to extract the text present on the selected option of the select field
If you can help me achieve this, or guide me to the right way.. thanks in advance!
0 Replies