Skip to content

What is an input

Thorazine edited this page Jul 23, 2017 · 1 revision

Every module has one or more fields that need to be defined. Instead of writing all the html and logic all over again for every field inputs were created. In the model for a Module or Builder you will find the types() function. Within this function you can easily define all the inputs you need for that module.

Please do note that you should not use nameless function in the types array due to cache. Instead make use of the automatic function binding capabilities.

Clone this wiki locally