List type config is empty
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 16
- Joined: 06 Jun 2024, 04:34
List type config is empty
Aimeos 2024.04
Laravel 11
PHP 8.2
List type config is empty.
I also tried with integer. Am I missing something? Should I be handling how lists look in backend? I'm confused.
Laravel 11
PHP 8.2
List type config is empty.
Code: Select all
private array $beconfig = [
'xplicit.courier.type' => [
'code' => 'xplicit.courier.type',
'internalcode' => 'xplicit.courier.type',
'label' => 'Courier Type',
'type'=> 'select',
'internaltype'=> 'string',
'default' => ['option1', 'option2'],
'required' => true,
],
];
Re: List type config is empty
Thank you for your hint!
The problem has been fixed and a new version is available. Please run "composer up" to get the fixed version.
The problem has been fixed and a new version is available. Please run "composer up" to get the fixed version.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

-
- Posts: 16
- Joined: 06 Jun 2024, 04:34
Re: List type config is empty
It is still empty. I did try to clear cache just in case it was that. Could you tell me which files handle the creation of the select type so I could check? Also I did notice list and map just display the default values, there is no selection, or maybe I am reading it wrong?
Edit: same thing on a new installation
Last edited by thestranger on 07 Jun 2024, 00:46, edited 3 times in total.
Re: List type config is empty
The change is in this file/commit: https://github.com/aimeos/ai-admin-jqad ... 7d551e2105
In your new screenshot, you aren't using "select" as type but "map" instead. To save a map, please click on the "check" button first before clicking on the "Save" button.
In your new screenshot, you aren't using "select" as type but "map" instead. To save a map, please click on the "check" button first before clicking on the "Save" button.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

-
- Posts: 16
- Joined: 06 Jun 2024, 04:34
Re: List type config is empty
Well, that doesn't matter anymore, the changes finally kicked in and it works now, thank you for your help.
Edit: it might matter, in the first image i was using select type and in the second image I was using list type which for some reason was looking exactly the same as map type. Just checked and it still looks the same, but I can work with select.
Edit: it might matter, in the first image i was using select type and in the second image I was using list type which for some reason was looking exactly the same as map type. Just checked and it still looks the same, but I can work with select.
Re: List type config is empty
For the backend, "list" and "map" are the same as documented here:
https://aimeos.org/docs/latest/provider ... figuration
https://aimeos.org/docs/latest/provider ... figuration
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
