⚠ 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

$crud->readOnlyAddFields([])



the_coders
  • profile picture
  • Member

Posted 21 July 2017 - 17:17 PM

Hi Grocery team,

 

i got a weird bug when i use   $crud->readOnlyAddFields(['___']),

 

i want to ask when i use this $crud->readOnlyAddFields(['___'])  it should be readonly when the popups comesout right? but when i click add there is not show anything even i cannot insert to database because data that related to read only not showup ( you can check the link below for the detail.

 

http://adhiatmamedia.com/grocery_crud_error.pdf

 

the question is how i can insert data and make some field read only so user cannot change the value and the data can insert into db?

 

im using Crudgroceryenterprise version 2.3.1 without composer

 

Thank you :)