Smile-SA / magento2-module-custom-entity

36 stars 9 forks source link

Can't save dropdown custom attributes options #26

Open wel0z opened 4 years ago

wel0z commented 4 years ago

When i choose Dropdown as attribute type and set options and label the system does not save options. I use magento 2.3.2

PierreGauthier commented 11 months ago

Hello @wel0z , I can't reproduce this error, do you still have this issue with the new version of this module ?

frekvent-szabolcs commented 8 months ago

Hello @PierreGauthier ,

If I add a new custom entity attribute, set the input type to Custom Entity and the scope to Global. Then add the attribute to an entity type and try to set a value for an entity using the dropdown of the custom entity, the value won't be saved.

If I change the the scope of the attribute from Gobal to Store, It will start to save values for the custom entity type as well.

If I do the same thing for a text or Dropdown attribute with global scope, the values are saved as expected, so I only experience this with the Global scope and with the custom entity type.

I use Magento 2.4.6 and the smile/module-custom-entity is 1.3.13.