⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

change_field_type dont work if come from a relation



superdan
  • profile picture
  • Member

Posted 16 September 2013 - 12:15 PM

Hi all it seems ive found an issue:

 

this command in the controller

$this->grocery_crud->change_field_type('IDAGENTEREF','hidden');

At least the type HIDDEN dont work anymore ( in the sense that the field remains visibile in read, edit and add )

 

 

IF and only IF  IDAGENTEREF derives from a relation e.g.

$this->grocery_crud->set_relation('IDAGENTEREF','AGENTI','AC_COGNOME');

I use last 1.4

Thank you for your attention