Custom Attribute Option not created part 2
Closed this issue · 2 comments
Detzler commented
There is a condition implemented 3 months ago which allows creating attribute options on thy fly as long as the attribute source model is an instance of Magento\Eav\Model\Entity\Attribute\Source\Table:
When I create a select attribute via backend the attribute receives the mentioned source model.
The problem is that any other select attributes, which has been created via Setup, don't contain any source model. The field is just NULL. Take a look at the color attribute which comes from magento's setup.
So is it just that simple to extend the condition with "is empty" for the source model value?
Detzler commented
When I create a multiselect attribute via backend the source model is empty too