post by evan0014 on May 22, 2021
post by johnny on May 23, 2021
Hello @evan0014 and welcome to our forums ![]()
From the code that I can see the field names are not the correct ones. They all need to be the ones that are from the database name and not the displayed ones. More specifically instead of having:
->fields('Barang', 'Harga', 'Deskripsi','Gambar');
should change to:
->fields('barang', 'harga', 'deskripsi','gambar');
(all lowercases)
same goes for the field_upload, instead of having:
->set_field_upload('Gambar', 'assets/uploads/poster');
you should have:
->set_field_upload('gambar', 'assets/uploads/poster');
New & Unread Topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How can I trim search fields in datagrid before the search starts? |
|
2 | 490 | May 9 |
| At least in v1.x: primary key not encoded in read / action URLs |
|
0 | 450 | May 3 |
| Grocery crud 1.6+ stable export filtered data |
|
0 | 317 | Aug 3 |
| Setting quick search values via JavaScript not working properly for booleans |
|
0 | 561 | Nov 2025 |
| Using `unsetPagination()` but limit is still applied |
|
3 | 632 | Apr 12 |


