Hi, using GroceryCrudEnterprise 2.9.6:
$crud->fieldType('role', 'dropdown', [
'0' => 'User',
'1' => 'Admin'
]);
Works as intended in editing, but ‘0’ is empty on the column view. The table cell doesn’t display “User”, but is just empty. The dropdown filter seems to work fine.
I remember it working correctly before.
Also affects dropdown_search and multiselect-variants.