I have this:
$related['product_colors'] = 'products_to_colors_model';
$related['products'] = 'products_to_products_model';
$related['products'] = 'products_to_made_for_products_model';
$fields = parent::form_fields($values, $related);
As you can see, 2 multiselect widgets populated with the 'products' table. The third relation which is also a $related['products'] doesn't display anything. I guess this is happening because it has the same key than the previous one.
Is there a way to solve this?
Thx!
Comments