I want to add hint to the CRUD form but I receive error.
$temp_crud->getElement('pin')->setFieldHint('the hint');
I want to add hint to the CRUD form but I receive error.
$temp_crud->getElement('pin')->setFieldHint('the hint');
simply add this to your Model:
$this->addField('my_field')->hint('this hint will show on the form');
Alternatively you can do
if($temp_crud->form) {
$temp_crud->form->getElement('pin')->setFieldHint('the hint');
}