are populated on product create with supplier_id and group_id (the user see in the select field supplier name and group name).
After save if I call the view form for the product, I can see the saved supplier and group (with both PHP 7.4 and 8.1 versions):
if I call edit form, the supplier and group names in select fields are invisible (PHP 8.1):
./spark serve
CodeIgniter v4.3.4 Command Line Tool - Server Time: 2023-06-29 14:15:59 UTC+02:00
CodeIgniter development server started on http://localhost:8080
[Thu Jun 29 14:15:59 2023] PHP 7.4.33 Development Server (http://localhost:8080) started
PHP8.1- Problem, started with
./spark serve --php /usr/bin/php8.1
CodeIgniter v4.3.4 Command Line Tool - Server Time: 2023-06-29 14:36:56 UTC+02:00
CodeIgniter development server started on http://localhost:8080
[Thu Jun 29 14:36:56 2023] PHP 8.1.20 Development Server (http://localhost:8080) started`
The same behavior is on the production Server (Apache Webserver, PHP8.1 / PHP 7.4)