Reusable schema
Hello guys!
I have a lengthy builder schema that I need to use for several resources in the admin. Is there a way for me to create a reusable component that incorporates this schema, allowing me to use it multiple times?
3 Replies
You could build a trait function and include the trait then reference the trait schema?
you can literally choose whatever method you want
return the schema from a static method, invokable class, anything.
it will work
I made a form-layout and put the schema in the getChildComponents() method and works now.
thanks for the help, much appreciated!