How to Create an SEO Component
Hello, I need to create a reusable component where inside it will have a GROUP of 3 TextInputs. How do I go about creating such a component? Since these InputText will have an action that will copy the content of other TextInputs in this same form. It will be an SEO component that will have a textInput of title that will copy the content of another textInput of title, will have another of Description and another of SLUG. I hope I managed to explain. Thanks
2 Replies
One option to handle reusable fields is to have a simple class that returns a
Group
, something like this:
Then in your forms, you can use it like a regular field:
Show. Thanks