I'm trying to override the default HTML when editing a MySQL boolean field (tinyint(1)).
I'm getting a "blank space" instead of the expected text field.
Here's my code
$this->crud->setTable('my_table') ->setSubject('a line') ->callbackEditField('col_bool', function () { return '<input class="form-control" name="col_bool" placeholder="the boolean" />'; }) ;
It works for callbackAddField with the same column type.
It works for all other column types (int, decimal, varchar, date, datetime).
Can you confirm the bug?
Many thanks