Grouping form fields to reuse them in different forms

Is it possible to make a group a f.e. 5 form fields and save them in a "file". And reuse them in several forms? I want to reuse for example a complete Grid with the fields inside in several forms. Short example please, would be great.
2 Replies
Dan Harrin
Dan Harrinβ€’2y ago
you could create a static method on your model class and return a Grid containing your form components and then just call that method from any of your form schemas or put it in which class you want
Falk Maria Zeitsprung
Falk Maria ZeitsprungOPβ€’2y ago
hey thanks! πŸ™‚
Want results from more Discord servers?
Add your server