Reuse Component Function
Hello - is there a way to reuse a function on a form component? For example, I have a
Select
element and I only want it to be required if it is visible
I have to write two separate checks - one for visible and one for required. But they are the same thing. It feels inefficient. Is there a better way to do this? Thank you0 Replies