Input 📑
ID Field: It's common filed of every Crud operation.
Remember
Each field initialization (init
) has 2 parameters: the first one is the name of the field, and the second one is the label of that field.
php
IdField::init('id'),
Text Field
php
TextField::init('name','Product Name'),