Skip to profile content
Ok thx john. I just need to label the checkbox, i think i will do it with callbackField. How about radio button ? which field type i should use ?
like johnny said above penn, it doesn’t take any options at the moment. Have you tried option : [ ‘N’ => ‘N’, ‘Y’ => ‘Y’, ] it doesn’t do anything..
i see in fieldType | Grocery CRUD - A PHP CRUD Generator Library there is checkbox_boolean field type. But how to use it ? i try like : $crud->fieldType(‘field_name’, ‘checkbox_boolean’, [ ‘N’ => ‘N’, ‘Y’ => ‘Y’, ]); But doesn’t work. Can anyone help me ?