With this configuration:
$this->grocery_crud->set_table('contactos');
$this->grocery_crud->set_relation('id_motivo', 'motivos', 'motivo');
$this->grocery_crud->set_relation('id_usuario', 'usuarios', '{nombre} {apellido}');
$this->grocery_crud->change_field_type('leido', 'true_false');
$this->grocery_crud->change_field_type('fecha', 'datetime');
$this->grocery_crud->change_field_type('fecha_leido', 'datetime');
$this->grocery_crud->edit_fields('fecha','id_motivo', 'nombre', 'email', 'mensaje', 'leido');
$this->grocery_crud->callback_edit_field('leido', array($this,'_leidoo_formato'));
$this->grocery_crud->callback_update(array($this,'_editar_registro'));
I add the image (
) )where you can see that initially presented correctly the edit form. Where in the dropdown is selected "Consulta". But when you click to select other "Motivo" the combo disappears (
).With another click on the place where it should be the dropdown, you can edit the field, but do not select an option from the database (Table Motivos). As this edition is disabled? (
) It should not be possible to edit the value, select one of the options in the database.Unable to re-display the html select after these actions.
Using these versions:
Codeigniter 2.0
Grocery Crud 1.3.3
Browser: Mozilla Firefox 17.0.1.
What can be the problem? Thanks for your time and help.
