$crud->set_table('users');
$crud->set_subject('User');
$crud->required_fields('username','email');
$crud->columns('username', 'email');
$crud->set_relation('country_id', 'countries', 'name');
It seems that the dropdown is always empty and I have to manually select the country.